UIPainter.st
changeset 3670 3b90ebd379e9
parent 3648 474d54e24cab
child 3755 e4364fb2e320
equal deleted inserted replaced
3669:650468354956 3670:3b90ebd379e9
  7252     selection isEmptyOrNil ifTrue:[ ^ false ].
  7252     selection isEmptyOrNil ifTrue:[ ^ false ].
  7253     ^ self canvas canResize:(self selectedViews)
  7253     ^ self canvas canResize:(self selectedViews)
  7254 !
  7254 !
  7255 
  7255 
  7256 hasMultipleSelectionOtherThanCanvas
  7256 hasMultipleSelectionOtherThanCanvas
  7257     "returns true in case that any selection other than the canvas exists"
  7257     "returns true if any selection other than the canvas exists"
  7258 
  7258 
  7259     ^ selection size > 0 and:[ (selection count:[:anyindex | anyindex ~~ 1]) > 1]
  7259     ^ selection size > 0 and:[ (selection count:[:anyindex | anyindex ~~ 1]) > 1]
       
  7260 
       
  7261     "Modified (comment): / 28-05-2019 / 06:53:53 / Claus Gittinger"
  7260 !
  7262 !
  7261 
  7263 
  7262 hasOneSelectionOtherThanCanvas
  7264 hasOneSelectionOtherThanCanvas
  7263     "returns true in case that one selection exists other than the canvas"
  7265     "returns true in case that one selection exists other than the canvas"
  7264 
  7266