mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-18 17:24:01 -04:00
fix(media widget): prevent title from truncating with scroll song title on (#3436)
(cherry picked from commit 0133962936)
This commit is contained in:
@@ -68,8 +68,8 @@ Item {
|
||||
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
wrapMode: Text.NoWrap
|
||||
width: root.needsScrolling ? implicitWidth : root.width
|
||||
elide: root.needsScrolling ? Text.ElideNone : Text.ElideRight
|
||||
width: Math.min(implicitWidth, root.width)
|
||||
elide: SettingsData.scrollTitleEnabled ? Text.ElideNone : Text.ElideRight
|
||||
x: Math.round((root.needsScrolling ? -Math.min(root.scrollOffset, root.maxScrollOffset) : 0) + root.textShift)
|
||||
opacity: 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user