Remove transparency in FullScreen image viewer

Also simplify closing the window by just clicking on the background

This fix #89
This commit is contained in:
Carl Schwan
2020-11-28 10:04:38 +01:00
parent c97ca27c52
commit 97cba6a17a

View File

@@ -20,13 +20,17 @@ ApplicationWindow {
title: i18n("Image View - %1", filename)
color: "#BB000000"
Shortcut {
sequence: "Escape"
onActivated: root.destroy()
}
color: Kirigami.Theme.backgroundColor
background: AbstractButton {
onClicked: root.destroy()
}
AnimatedImage {
anchors.centerIn: parent