mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-04-14 17:52:10 -04:00
fix: Truncate Media Playback OSD
This commit is contained in:
@@ -39,7 +39,6 @@ DankOSD {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function onIsPlayingChanged() { handleUpdate() }
|
function onIsPlayingChanged() { handleUpdate() }
|
||||||
// Not enough room to show track name vertically - skip it
|
|
||||||
function onTrackChanged() { if (!useVertical) handleUpdate() }
|
function onTrackChanged() { if (!useVertical) handleUpdate() }
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -92,7 +91,8 @@ DankOSD {
|
|||||||
font.pixelSize: Theme.fontSizeMedium
|
font.pixelSize: Theme.fontSizeMedium
|
||||||
font.weight: Font.Medium
|
font.weight: Font.Medium
|
||||||
color: Theme.surfaceText
|
color: Theme.surfaceText
|
||||||
elide: Text.ElideRight
|
wrapMode: Text.Wrap
|
||||||
|
maximumLineCount: 3
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user