@@ -16,8 +16,9 @@
16 * Authors: Michael Zanetti <michael.zanetti@canonical.com>
16 * Authors: Michael Zanetti <michael.zanetti@canonical.com>
19−import QtQuick 2.3
19+import QtQuick 2.4
20+import QtGraphicalEffects 1.0
20−import Ubuntu.Components 1.1
21+import Ubuntu.Components 1.2
21import Unity.Application 0.1
22import Unity.Application 0.1
23FocusScope {
24FocusScope {
@@ -37,15 +38,6 @@ FocusScope {
37 signal minimize()
38 signal minimize()
38 signal decorationPressed()
39 signal decorationPressed()
43− margins: -units.gu(2)
45− source: "graphics/dropshadow2gu.sci"
46− opacity: root.shadowOpacity * .3
49 Rectangle {
41 Rectangle {
50 id: selectionHighlight
42 id: selectionHighlight
51 anchors.fill: parent
43 anchors.fill: parent
@@ -61,6 +53,12 @@ FocusScope {
61 visible: highlightShown
53 visible: highlightShown
59+ glowRadius: active ? units.dp(6) : units.dp(4)
64 WindowDecoration {
62 WindowDecoration {
65 id: decoration
63 id: decoration
66 target: root.parent
64 target: root.parent