[squeak-dev] The Trunk: Morphic-ct.2050.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Oct 21 12:25:56 UTC 2022

Christoph Thiede uploaded a new version of Morphic to project The Trunk:

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

Name: Morphic-ct.2050
Author: ct
Time: 21 October 2022, 2:25:51.28487 pm
UUID: 6b936800-d835-0f4c-be8e-9ae96e6f86ee
Ancestors: Morphic-mt.2049, Morphic-ct.2033

Merges Morphic-ct.2033:
	Fixes an drawing/invalidation issue with TransformMorphs. [...]

=============== Diff against Morphic-mt.2049 ===============

Item was changed:
  ----- Method: TransformMorph>>invalidRect:from: (in category 'change reporting') -----
  invalidRect: damageRect from: aMorph
  	"Translate damage reports from submorphs by the scrollOffset."
+ 	^ super
+ 		invalidRect: (aMorph == self
+ 			ifTrue: [damageRect]
+ 			ifFalse: [(transform localBoundsToGlobal: damageRect) expanded])
+ 		from: self!
- 	aMorph == self
- 		ifTrue:[super invalidRect: damageRect from: self]
- 		ifFalse:[super invalidRect: (((transform localBoundsToGlobal: damageRect) intersect: bounds) expanded) from: self].!

More information about the Squeak-dev mailing list