mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
remove CloneContainerConstraint
This commit is contained in:
15
taskbar.js
15
taskbar.js
@@ -1324,21 +1324,6 @@ export const Taskbar = class extends EventEmitter {
|
||||
}
|
||||
};
|
||||
|
||||
const CloneContainerConstraint = GObject.registerClass({
|
||||
}, class CloneContainerConstraint extends Clutter.BindConstraint {
|
||||
|
||||
vfunc_update_allocation(actor, actorBox) {
|
||||
if (!this.source)
|
||||
return;
|
||||
|
||||
let [stageX, stageY] = this.source.get_transformed_position();
|
||||
let [width, height] = this.source.get_transformed_size();
|
||||
|
||||
actorBox.set_origin(stageX, stageY);
|
||||
actorBox.set_size(width, height);
|
||||
}
|
||||
});
|
||||
|
||||
export const TaskbarItemContainer = GObject.registerClass({
|
||||
|
||||
}, class TaskbarItemContainer extends Dash.DashItemContainer {
|
||||
|
||||
Reference in New Issue
Block a user