Don't limit width of messages with code blocks
This commit is contained in:
parent
42b62377ab
commit
a48b1cedd0
2
TODO.md
2
TODO.md
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
- add room members loading indicator
|
- add room members loading indicator
|
||||||
|
|
||||||
- fix event ID mention regex
|
- fix main pane appearance when collapsed
|
||||||
- fix lag when clicking accounts in the AccountBar with a very long room list
|
- fix lag when clicking accounts in the AccountBar with a very long room list
|
||||||
- fix: on startup, if a room's last event is a membership change,
|
- fix: on startup, if a room's last event is a membership change,
|
||||||
it won't be visible in timeline no matter what the user config is
|
it won't be visible in timeline no matter what the user config is
|
||||||
|
|
|
@ -63,6 +63,8 @@ HRowLayout {
|
||||||
0
|
0
|
||||||
|
|
||||||
readonly property int maxMessageWidth:
|
readonly property int maxMessageWidth:
|
||||||
|
contentText.includes("<pre>") ?
|
||||||
|
-1 :
|
||||||
window.settings.maxMessageCharactersPerLine < 0 ?
|
window.settings.maxMessageCharactersPerLine < 0 ?
|
||||||
-1 :
|
-1 :
|
||||||
Math.ceil(
|
Math.ceil(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user