author | tz |
Mon, 13 Jul 1998 18:15:53 +0200 | |
changeset 889 | 39d326722589 |
parent 888 | 2712edb36a3a |
child 890 | dac91d5af289 |
UIPainter.st | file | annotate | diff | comparison | revisions |
--- a/UIPainter.st Mon Jul 13 16:25:31 1998 +0200 +++ b/UIPainter.st Mon Jul 13 18:15:53 1998 +0200 @@ -3801,10 +3801,11 @@ "returns true if any selection exists and all widgets in the selection can change their layout through to a move or align operation" - ((selection size ~~ 1) or: [(selection at: 1) == 1]) ifTrue:[ - ^ false - ]. - ^ true + ^(selection size == 1) and: + [(selection at: 1) ~~ 1 and: + [self selectedNode parent children size > 1]] + + ! canMoveOrAlignSelection