Fix some Cocoa UI issues

db4
Slava Pestov 2008-03-12 01:34:37 -05:00
parent e0f11d29ea
commit fd5af90cb3
3 changed files with 4 additions and 3 deletions

View File

@ -297,7 +297,7 @@ CLASS: {
{ "updateFactorGadgetSize:" "void" { "id" "SEL" "id" } { "updateFactorGadgetSize:" "void" { "id" "SEL" "id" }
[ [
[ [
2drop dup view-dim swap window set-gadget-dim 2drop dup view-dim swap window set-gadget-dim yield
] ui-try ] ui-try
] ]
} }

View File

@ -119,7 +119,8 @@ SYMBOL: drag-timer
: stop-drag-timer ( -- ) : stop-drag-timer ( -- )
hand-buttons get-global empty? [ hand-buttons get-global empty? [
drag-timer get-global box> cancel-alarm drag-timer get-global ?box
[ cancel-alarm ] [ drop ] if
] when ; ] when ;
: fire-motion ( -- ) : fire-motion ( -- )