[squeak-dev] The Trunk: Morphic-mt.1128.mcz

commits at source.squeak.org commits at source.squeak.org
Mon May 2 16:05:54 UTC 2016

Marcel Taeumel uploaded a new version of Morphic to project The Trunk:

==================== Summary ====================

Name: Morphic-mt.1128
Author: mt
Time: 2 May 2016, 6:04:35.298556 pm
UUID: 33e9b876-51c7-3840-b392-162231df3805
Ancestors: Morphic-mt.1127

During a non-fast window-resize operation, disable the drop shadow to improve responsiveness. This also affects the non-soft drop shadow.

=============== Diff against Morphic-mt.1127 ===============

Item was changed:
  ----- Method: CornerGripMorph>>mouseMove: (in category 'as yet unclassified') -----
  mouseMove: anEvent 
  	| delta |
  	target ifNil: [^ self].
  	target fastFramingOn 
  		ifTrue: [delta := target doFastWindowReframe: self ptName] 
  		ifFalse: [
+ 			target hasDropShadow: false.
  			delta := lastMouse ifNil: [0 at 0] ifNotNil: [anEvent cursorPoint - lastMouse].
  			lastMouse := anEvent cursorPoint.
  			self apply: delta.
  			self bounds: (self bounds origin + delta extent: self bounds extent)].!

Item was added:
+ ----- Method: CornerGripMorph>>mouseUp: (in category 'as yet unclassified') -----
+ mouseUp: anEvent 
+ 	target ifNil: [^ self].
+ 	target fastFramingOn ifFalse: [target hasDropShadow: true].!

More information about the Squeak-dev mailing list