[squeak-dev] The Trunk: Morphic-ael.554.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Jul 1 20:23:26 UTC 2011


Bert Freudenberg uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-ael.554.mcz

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

Name: Morphic-ael.554
Author: ael
Time: 1 July 2011, 12:10:26.928 pm
UUID: 0ad82b9b-881e-4bc4-a47e-898d3b943d56
Ancestors: Morphic-bf.553

When fastDragWindowForMorphic is off, the edge dragginb behavior incorrectly resizes the window in wrong directions as well.  This patch from Aran Lunzer fixes it.

=============== Diff against Morphic-bf.553 ===============

Item was changed:
  ----- Method: BottomGripMorph>>apply: (in category 'target resize') -----
  apply: delta 
  	| oldBounds |
  	oldBounds := target bounds.
  	target
+ 		bounds: (oldBounds origin corner: oldBounds corner + (0 @ delta y))!
- 		bounds: (oldBounds origin + (delta x @ 0) corner: oldBounds corner + (0 @ delta y))!

Item was changed:
  ----- Method: LeftGripMorph>>apply: (in category 'target resize') -----
  apply: delta 
  	| oldBounds |
  	oldBounds := target bounds.
  	target
+ 		bounds: (oldBounds origin + (delta x @ 0) corner: oldBounds corner)!
- 		bounds: (oldBounds origin + (delta x @ 0) corner: oldBounds corner + (0 @ delta y))!

Item was changed:
  ----- Method: RightGripMorph>>apply: (in category 'target resize') -----
  apply: delta 
  	| oldBounds |
  	oldBounds := target bounds.
  	target
+ 		bounds: (oldBounds origin corner: oldBounds corner + (delta x @ 0))!
- 		bounds: (oldBounds origin + (delta x @ 0) corner: oldBounds corner + (0 @ delta y))!

Item was changed:
  ----- Method: TopGripMorph>>apply: (in category 'target resize') -----
  apply: delta 
  	| oldBounds |
  	oldBounds := target bounds.
  	target
+ 		bounds: (oldBounds origin + (0 @ delta y) corner: oldBounds corner)!
- 		bounds: (oldBounds origin + (delta x @ 0) corner: oldBounds corner + (0 @ delta y))!




More information about the Squeak-dev mailing list