Skip to content

Commit

Permalink
Fix buggy message display when receiving answered message before scro…
Browse files Browse the repository at this point in the history
…lling
  • Loading branch information
rgwohlbold committed Jun 2, 2022
1 parent 048527e commit cef7e9e
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,7 @@ initialize

super initialize.

self initializeDefaults.

self messageModel isReply ifTrue: [self addReplySnippet].

self
addSender;
addContent;
addDate;
shrinkToContent.
initializeDefaults;
initializeSubmorphs

Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
initialization
initializeSubmorphs

self messageModel isReply ifTrue: [self addReplySnippet].

self
addSender;
addContent;
addDate;
shrinkToContent.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ drawing
updateReplySnippet

self submorphsDo: #abandon.
self initialize.
self initializeSubmorphs
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@
"addReplySnippet" : "rgw 5/12/2022 15:54",
"addSender" : "rgw 5/12/2022 15:54",
"addText" : "RK 6/23/2021 11:46",
"answeredMessageReceived" : "JS 5/27/2022 19:17",
"answeredMessageReceived" : "rgw 6/2/2022 10:29",
"date" : "TR 6/20/2021 10:59",
"initialize" : "rgw 5/12/2022 16:33",
"initialize" : "rgw 6/2/2022 10:27",
"initializeDefaults" : "JB 6/11/2021 18:23",
"initializeSubmorphs" : "rgw 6/2/2022 10:26",
"isOutgoing" : "TR 6/20/2021 11:37",
"messageColor" : "JB 5/29/2021 21:06",
"messageDateText" : "JB 5/17/2021 10:04",
Expand All @@ -28,4 +29,4 @@
"senderId" : "8/5/2021 21:14:18",
"shrinkToContent" : "RK 8/4/2021 11:58",
"text" : "RK 6/29/2021 11:18",
"updateReplySnippet" : "JS 5/26/2022 16:33" } }
"updateReplySnippet" : "rgw 6/2/2022 10:29" } }

0 comments on commit cef7e9e

Please sign in to comment.