fix incremental layout strategy bug

cvs
Slava Pestov 2005-07-19 20:56:57 +00:00
parent 91d638450d
commit fc934d8630
2 changed files with 1 additions and 2 deletions

View File

@ -10,7 +10,6 @@
- nicer scrollbars with up/down buttons
- gaps in pack layout
- fix listener prompt display after presentation commands invoked
- stack display bugs
- tutorial: clickable code snippets
- parser::skip clean up

View File

@ -36,7 +36,7 @@ M: incremental layout* drop ;
swap set-rectangle-loc ;
: prefer-incremental ( gadget -- )
dup pref-dim swap set-rectangle-dim ;
dup pref-dim over set-rectangle-dim layout ;
: add-incremental ( gadget incremental -- )
2dup (add-gadget)