File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
packages/TelegramClient-UI.package/TCUPollOption.class Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
1
as yet unclassified
2
2
initializeWith: aPollMessage and : anOption
3
+ | text |
3
4
4
5
pollMessage := aPollMessage.
5
6
pollOption := anOption.
@@ -9,8 +10,9 @@ initializeWith: aPollMessage and: anOption
9
10
selectionMorph
10
11
color: aPollMessage messageColor;
11
12
extent: 16 @16 .
13
+ text := (anOption votePercentage asString),' % ' ,(anOption text).
12
14
textMorph := aPollMessage class defaultTextMorph
13
- contents: (TCUEmojiHelper embedEmojisInto: anOption text);
15
+ contents: (TCUEmojiHelper embedEmojisInto: text);
14
16
hResizing: #spaceFill ;
15
17
color: Color white;
16
18
margins: aPollMessage class defaultMargins;
Original file line number Diff line number Diff line change 4
4
"new:" : " 6/14/2024 00:26:16" ,
5
5
"new:with:" : " F.M. 6/5/2024 14:49" },
6
6
"instance" : {
7
- "initializeWith:" : " 6/14/2024 09:29:43" ,
8
- "initializeWith:and:" : " TU 6/14/2024 00:31" ,
7
+ "initializeWith:and:" : " TU 6/20/2024 21:56" ,
9
8
"mouseDown:" : " TU 6/6/2024 01:46" ,
10
- "selected" : " 6/14/2024 09:29:43" ,
11
- "selected:" : " 6/14/2024 09:29:43" ,
12
9
"updateSelection" : " TU 6/14/2024 00:29" ,
13
10
"updateText:" : " 6/14/2024 09:29:43" } }
You can’t perform that action at this time.
0 commit comments