~cimi/unity8/single-preview

« back to all changes in this revision

Viewing changes to qml/Launcher/LauncherPanel.qml

  • Committer: CI Train Bot
  • Author(s): Albert Astals Cid
  • Date: 2016-01-11 17:38:19 UTC
  • mfrom: (2103.3.1 laucher_icon_flicker)
  • Revision ID: ci-train-bot@canonical.com-20160111173819-2eekem5b3l4k3xu8
Clear fake item icon name as soon as it goes invisible

So that next time it goes visible it's clean; fixes flickering on the Meizu phone (can't repro on the desktop) Fixes: #1531172
Approved by: Michael Terry

Show diffs side-by-side

added added

removed removed

Lines of Context:
595
595
                width: itemWidth
596
596
                rotation: root.rotation
597
597
                itemOpacity: 0.9
 
598
                onVisibleChanged: if (!visible) iconName = "";
598
599
 
599
600
                function flatten() {
600
601
                    fakeDragItemAnimation.start();