Optimize scrolling a little bit
This commit is contained in:
parent
cbb4356b19
commit
6f557c19a1
3 changed files with 25 additions and 29 deletions
|
|
@ -8,9 +8,6 @@ TextEdit {
|
|||
selectByMouse: true
|
||||
color: colors.text
|
||||
|
||||
font.hintingPreference: Font.PreferFullHinting
|
||||
renderType: Text.NativeRendering
|
||||
|
||||
onLinkActivated: {
|
||||
if (/^https:\/\/matrix.to\/#\/(@.*)$/.test(link)) chat.model.openUserProfile(/^https:\/\/matrix.to\/#\/(@.*)$/.exec(link)[1])
|
||||
else if (/^https:\/\/matrix.to\/#\/(![^\/]*)$/.test(link)) timelineManager.setHistoryView(/^https:\/\/matrix.to\/#\/(!.*)$/.exec(link)[1])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue