[squeak-dev] The Trunk: Morphic-eem.2021.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Jul 26 19:01:15 UTC 2022

Eliot Miranda uploaded a new version of Morphic to project The Trunk:

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

Name: Morphic-eem.2021
Author: eem
Time: 26 July 2022, 12:01:10.585585 pm
UUID: 3cae6374-47d3-49e9-99a8-8c59697058d1
Ancestors: Morphic-eem.2020

Tiny reliability tweak.

=============== Diff against Morphic-eem.2020 ===============

Item was changed:
  ----- Method: TextMorph>>minHeight (in category 'layout') -----
  	| result |
  	result := (paragraph
  		ifNil: [self minCompositionHeight]
+ 		ifNotNil: [:para| para lines first lineHeight])
- 		ifNotNil: [paragraph lines first lineHeight])
  			+ (self borderWidth*2).
  	margins ifNil: [^ result].
  	^ margins isRectangle
  		ifTrue: [result + margins top + margins bottom]
  		ifFalse: [margins isPoint
  			ifTrue: [result + margins y + margins y]
  			ifFalse: [result + (2*margins)]]!

More information about the Squeak-dev mailing list