# HG changeset patch # User ca # Date 872093217 -7200 # Node ID 7bbe22b39d9b9b954a053412c19a142a9a670d58 # Parent 675327dd4d7dda7977816a523d65c3101e73ea86 check state for 0 during button motion diff -r 675327dd4d7d -r 7bbe22b39d9b UIGalleryView.st --- a/UIGalleryView.st Wed Aug 20 18:06:03 1997 +0200 +++ b/UIGalleryView.st Wed Aug 20 18:06:57 1997 +0200 @@ -459,7 +459,7 @@ " |sensor| - (lastClickPoint notNil and:[selection notNil]) ifTrue:[ + (state ~~ 0 and:[lastClickPoint notNil and:[selection notNil]]) ifTrue:[ sensor := self sensor. sensor anyButtonPressed ifTrue:[ (lastClickPoint dist:(x@y)) > 10.0 ifTrue:[ @@ -467,8 +467,6 @@ ] ] ] - - "Modified: 11.8.1997 / 00:44:49 / cg" ! buttonPress:button x:x y:y