on xenial help sign in
add copyright header
commitb88028d0018c8b54c4bec0f49172fa4257fee4d3 authorMichael Zanetti <michael.zanetti@canonical.com> dateThu 17 Nov 2016, 14:12 (10 years ago) parentc8f5429
1 file changed+23−10
qml/Launcher/BackgroundBlur.qml+23−10
qml/Launcher/BackgroundBlur.qml+23−10
@@ -1,3 +1,19 @@
1+/*
2+ * Copyright (C) 2016 Canonical, Ltd.
3+ *
4+ * This program is free software; you can redistribute it and/or modify
5+ * it under the terms of the GNU General Public License as published by
6+ * the Free Software Foundation; version 3.
7+ *
8+ * This program is distributed in the hope that it will be useful,
9+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
10+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+ * GNU General Public License for more details.
12+ *
13+ * You should have received a copy of the GNU General Public License
14+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
15+ */
16+
117import QtQuick 2.4
218import Ubuntu.Components 1.3
319import QtGraphicalEffects 1.0
@@ -10,16 +26,13 @@ Item {
1026 property rect blurRect: Qt.rect(0,0,0,0)
1127 property alias cached: fastBlur.cached
1228
13− Item {
14− anchors.fill: parent
15− Rectangle {
16− id: blurMask
17− color: "yellow"
18− x: blurRect.x
19− y: blurRect.y
20− width: blurRect.width
21− height: blurRect.height
22− }
29+ Rectangle {
30+ id: blurMask
31+ color: "yellow"
32+ x: blurRect.x
33+ y: blurRect.y
34+ width: blurRect.width
35+ height: blurRect.height
2336 }
2437
2538 ShaderEffect {