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:
@@ -20,13 +20,17 @@ ApplicationWindow {
|
|||||||
|
|
||||||
title: i18n("Image View - %1", filename)
|
title: i18n("Image View - %1", filename)
|
||||||
|
|
||||||
color: "#BB000000"
|
|
||||||
|
|
||||||
Shortcut {
|
Shortcut {
|
||||||
sequence: "Escape"
|
sequence: "Escape"
|
||||||
onActivated: root.destroy()
|
onActivated: root.destroy()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
color: Kirigami.Theme.backgroundColor
|
||||||
|
|
||||||
|
background: AbstractButton {
|
||||||
|
onClicked: root.destroy()
|
||||||
|
}
|
||||||
|
|
||||||
AnimatedImage {
|
AnimatedImage {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user