[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [gcompris] src/activities/magic-hat-minus: magic-hat-minus, fix ColorOverlay to no more use a source
From:       Bruno Coudoin <bruno.coudoin () gcompris ! net>
Date:       2015-11-30 20:13:59
Message-ID: E1a3Upj-0004CK-8n () scm ! kde ! org
[Download RAW message or body]

Git commit e75fa0ad5055a596b7b4ea4f9f232d9ed84b8289 by Bruno Coudoin.
Committed on 30/11/2015 at 20:13.
Pushed by bcoudoin into branch 'master'.

magic-hat-minus, fix ColorOverlay to no more use a source parent

M  +7    -6    src/activities/magic-hat-minus/Star.qml

http://commits.kde.org/gcompris/e75fa0ad5055a596b7b4ea4f9f232d9ed84b8289

diff --git a/src/activities/magic-hat-minus/Star.qml b/src/activities/magic=
-hat-minus/Star.qml
index 083d94d..57f8752 100644
--- a/src/activities/magic-hat-minus/Star.qml
+++ b/src/activities/magic-hat-minus/Star.qml
@@ -70,13 +70,14 @@ Item {
         anchors.centerIn: contour
         fillMode: Image.PreserveAspectFit
         opacity: 1
+        visible: false
+    }
 =

-        ColorOverlay {
-            anchors.fill: starImg
-            source: starImg
-            color: mainItem.selected ?
-                       mainItem.wantedColor : mainItem.disabledColor
-        }
+    ColorOverlay {
+        anchors.fill: starImg
+        source: starImg
+        color: mainItem.selected ?
+                   mainItem.wantedColor : mainItem.disabledColor
     }
 =

     states: [
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic