[graphics/koko] src/qml/mediaview: MediaViewPage: hide the zoom box for video files only
Nate Graham <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit fdcb047c7117a19c9f345a1c9c8035e649844903 by Nate Graham, on behalf of Angel Parra.
Committed on 21/07/2026 at 20:07.
Pushed by ngraham into branch 'master'.
MediaViewPage: hide the zoom box for video files only
The bar gets in the way at the middle part of the seek slider and
zoom does not even work for video. May be restored any time in the
future if video zoom and panning are ever supported.
M +1 -1 src/qml/mediaview/MediaViewPage.qml
https://invent.kde.org/graphics/koko/-/commit/fdcb047c7117a19c9f345a1c9c8035e649844903
diff --git a/src/qml/mediaview/MediaViewPage.qml b/src/qml/mediaview/MediaViewPage.qml
index ba17b223..2e1f800d 100644
--- a/src/qml/mediaview/MediaViewPage.qml
+++ b/src/qml/mediaview/MediaViewPage.qml
@@ -735,7 +735,7 @@ Kirigami.Page {
KAC.FloatingToolBar {
id: zoomBar
- readonly property bool shouldShow: listView.currentItem !== null && root.mainWindow.controlsVisible
+ readonly property bool shouldShow: listView.currentItem !== null && root.mainWindow.controlsVisible && listView.currentItem.type != Koko.FileInfo.VideoType
Kirigami.Theme.colorSet: Kirigami.Theme.Complementary
parent: listView
anchors {