[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squeak-dev
Subject:    [squeak-dev] The Trunk: Morphic-mt.2127.mcz
From:       commits () source ! squeak ! org
Date:       2023-08-29 12:55:15
Message-ID: 20230829125520.DC70458274F () mail ! squeak ! org
[Download RAW message or body]

Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.2127.mcz

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

Name: Morphic-mt.2127
Author: mt
Time: 29 August 2023, 2:55:13.299076 pm
UUID: 5d962eea-6b87-d74a-a7ca-b35dd3c7bbfc
Ancestors: Morphic-mt.2126

#fillsOwner: Fixes construction issue in TextContainer where the TextMorph has no owner yet.

'Squeak' asText asMorph fillsOwner: true.

=============== Diff against Morphic-mt.2126 ===============

Item was changed:
  ----- Method: TextContainer>>bounds (in category 'private') -----
  bounds
  	| bounds theText |
  	self fillsOwner ifFalse: [^ textMorph textBounds].
+ 	textMorph owner ifNil: [^ textMorph textBounds].
  	theText := textMorph.
  	bounds := theText owner innerBounds.
  	bounds := bounds insetBy: (textMorph valueOfProperty: #margins ifAbsent: [1@1]).
  	theText owner submorphsBehind: theText do:
  		[:m | bounds swallow: m fullBounds].
  	^ bounds!


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic