mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
Beautify DTP - Fix ugly icon animation when using ungroup applications option
This commit is contained in:
@@ -292,10 +292,11 @@ export const TaskbarAppIcon = GObject.registerClass({
|
||||
// The source of the clone is this._dtpIconContainer,
|
||||
// which contains the icon but no highlighting elements
|
||||
// using this.actor directly would break DnD style.
|
||||
let cloneSource = this._dtpIconContainer;
|
||||
let clone = new Clutter.Clone({
|
||||
source: this._dtpIconContainer,
|
||||
source: cloneSource,
|
||||
x: this.child.x, y: this.child.y,
|
||||
width: this.child.width, height: this.child.height,
|
||||
width: cloneSource.width, height: cloneSource.height,
|
||||
pivot_point: new Graphene.Point({ x: 0.5, y: 0.5 }),
|
||||
opacity: 255,
|
||||
reactive: false,
|
||||
|
||||
Reference in New Issue
Block a user