Move hover preview height from settings to theme

This commit is contained in:
miruka
2019-09-17 16:39:45 -04:00
parent 692749e72f
commit f19d337817
3 changed files with 4 additions and 2 deletions

View File

@@ -97,7 +97,7 @@ HColumnLayout {
contentItem: VideoPreview {
id: preview
implicitHeight: Math.min(
window.settings.media.hoverPreviewHeight,
theme.mediaPlayer.hoverPreview.maxHeight,
media.height - osd.height - theme.spacing
)
implicitWidth: Math.min(