Skip to content
Snippets Groups Projects
Commit 90cb99e2 authored by SeeLook's avatar SeeLook :musical_note:
Browse files

[Android] Decrease blur radius for performance reasons

parent 508b3c33
No related branches found
No related tags found
No related merge requests found
/** This file is part of Nootka (http://nootka.sf.net) *
* Copyright (C) 2018-2020 by Tomasz Bojczuk (seelook@gmail.com) *
* Copyright (C) 2018-2021 by Tomasz Bojczuk (seelook@gmail.com) *
* on the terms of GNU GPLv3 license (http://www.gnu.org/licenses) */
import QtQuick 2.9
......@@ -17,7 +17,11 @@ Dialog {
width: parent.width * 0.8; height: parent.height * 0.8
x: (parent.width - width) / 2; y: (parent.height - height) / 2
background: TipRect { id: rect; color: activPal.window; shadowRadius: Noo.fontSize(); shadowColor: activPal.shadow }
background: TipRect {
id: rect
color: activPal.window; shadowColor: activPal.shadow
shadowRadius: Noo.fontSize() * (Noo.isAndroid() ? 0.5 : 1)
}
scale: GLOB.useAnimations ? 0 : 1.0
enter: Transition { enabled: GLOB.useAnimations; NumberAnimation { property: "scale"; to: 1.0 }}
exit: Transition { enabled: GLOB.useAnimations; NumberAnimation { property: "scale"; to: 0 }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment