Skip to content

Commit

Permalink
fix a possible Editor display glitch
Browse files Browse the repository at this point in the history
  • Loading branch information
jvuletich committed Aug 23, 2024
1 parent d82121d commit 627c9d9
Showing 1 changed file with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
'From Cuis7.1 [latest update: #6628] on 23 August 2024 at 8:23:32 pm'!

!InnerTextMorph methodsFor: 'notifications' stamp: 'jmv 8/23/2024 20:22:49'!
possiblyChanged
| embeddedMorphs |
embeddedMorphs := model actualContents embeddedMorphs.
self submorphsDo: [:each|
(embeddedMorphs includes: each) ifFalse: [
self privateRemove: each.
each privateOwner: nil ]].
embeddedMorphs do: [ :each|
each owner == self ifFalse: [
self addMorphFront: each.
each hide "Show it only when properly located"]].
(owner is: #ScrollPane) ifTrue: [
owner possiblyChanged ].
self redrawNeeded.! !

0 comments on commit 627c9d9

Please sign in to comment.