1
0
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:
purian23
2026-02-05 22:21:45 -05:00
parent 81d5235b9f
commit ac84cadd77

View File

@@ -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
} }
} }
} }