]> gitweb.factorcode.org Git - factor.git/commitdiff
new accessors
authorDoug Coleman <doug.coleman@gmail.com>
Sun, 31 Aug 2008 21:22:25 +0000 (16:22 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Sun, 31 Aug 2008 21:22:25 +0000 (16:22 -0500)
basis/ui/gadgets/incremental/incremental.factor

index 77b88959c974b0893e06ce349226beca5d969b6c..3291a1c42aed15201244311d8fb56080d7369a7c 100755 (executable)
@@ -41,7 +41,7 @@ M: incremental pref-dim*
     swap set-rect-loc ;
 
 : prefer-incremental ( gadget -- )
-    dup forget-pref-dim dup pref-dim swap set-rect-dim ;
+    dup forget-pref-dim dup pref-dim >>dim drop ;
 
 : add-incremental ( gadget incremental -- )
     not-in-layout