mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
Fix unsupported onStart Clutter animation property
This commit is contained in:
@@ -696,10 +696,6 @@ var taskbarAppIcon = Utils.defineClass({
|
||||
let tweenOpts = {
|
||||
time: Taskbar.DASH_ANIMATION_TIME,
|
||||
transition: 'easeInOutCubic',
|
||||
onStart: Lang.bind(this, function() {
|
||||
if(newOtherOpacity == 0)
|
||||
otherDots.opacity = newOtherOpacity;
|
||||
}),
|
||||
onComplete: Lang.bind(this, function() {
|
||||
if(newOtherOpacity > 0)
|
||||
otherDots.opacity = newOtherOpacity;
|
||||
@@ -707,6 +703,9 @@ var taskbarAppIcon = Utils.defineClass({
|
||||
})
|
||||
};
|
||||
|
||||
if(newOtherOpacity == 0)
|
||||
otherDots.opacity = newOtherOpacity;
|
||||
|
||||
tweenOpts[sizeProp] = newSize;
|
||||
dots._tweeningToSize = newSize;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user