Slow down of TextMorph
Bug #1458041 reported by
hilaire
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Dr. Geo |
Fix Released
|
Medium
|
Unassigned |
Bug Description
TextMorph are slow due to unnecessary update of its cached bitmap when sending message #contents:
Change it as follow:
DrGTextMorph>
self contents = stringOrText ifTrue: [ ^ self ].
myForm := nil.
^ super contents: stringOrText
Caution, it may conflict with TextMorph at font size change; indeed its bitmap cache need to be reset although content text does not change.
Changed in drgeo: | |
milestone: | 15.04 → 15.07 |
Changed in drgeo: | |
status: | New → Fix Committed |
Changed in drgeo: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.