aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/multieffect/itemswitcher/qml/SwitchEffectHeart.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/multieffect/itemswitcher/qml/SwitchEffectHeart.qml')
-rw-r--r--examples/quick/multieffect/itemswitcher/qml/SwitchEffectHeart.qml12
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/quick/multieffect/itemswitcher/qml/SwitchEffectHeart.qml b/examples/quick/multieffect/itemswitcher/qml/SwitchEffectHeart.qml
index e81c648e2c..e80c54460c 100644
--- a/examples/quick/multieffect/itemswitcher/qml/SwitchEffectHeart.qml
+++ b/examples/quick/multieffect/itemswitcher/qml/SwitchEffectHeart.qml
@@ -31,8 +31,8 @@ Item {
maskEnabled: true
maskSource: mask
maskInverted: true
- maskThresholdLow: 0.5
- maskSpreadLow: 0.0
+ maskThresholdMin: 0.5
+ maskSpreadAtMin: 0.0
}
// Item coming in
MultiEffect {
@@ -40,9 +40,9 @@ Item {
anchors.fill: parent
maskEnabled: true
maskSource: mask
- maskThresholdLow: 0.5
- maskSpreadLow: 0.0
- colorizeColor: "red"
- colorize: Math.max(0, 1.0 - switcher.inAnimation * 2)
+ maskThresholdMin: 0.5
+ maskSpreadAtMin: 0.0
+ colorizationColor: "red"
+ colorization: Math.max(0, 1.0 - switcher.inAnimation * 2)
}
}