layout: Don't use the corner's position for positioning ripples
The corner may not be there in the future. https://bugzilla.gnome.org/show_bug.cgi?id=663661
This commit is contained in:
parent
62bf08d323
commit
7be1fe09f1
@ -1193,9 +1193,8 @@ const HotCorner = new Lang.Class({
|
||||
ripple.opacity = 255 * Math.sqrt(startOpacity);
|
||||
ripple.scale_x = ripple.scale_y = startScale;
|
||||
|
||||
let [x, y] = this._corner.get_transformed_position();
|
||||
ripple.x = x;
|
||||
ripple.y = y;
|
||||
ripple.x = this._x;
|
||||
ripple.y = this._y;
|
||||
|
||||
Tweener.addTween(ripple, { _opacity: 0,
|
||||
scale_x: finalScale,
|
||||
|
Loading…
Reference in New Issue
Block a user