mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
modalDialog: Fix bindConstraint
Clutter.BindCoordinate is an enum not a bitmask, so use Clutter.BindCoordinate.ALL instead of a bitmask of POSITION and SIZE.
This commit is contained in:
parent
c8020e6559
commit
fbf6e032d0
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ const ModalDialog = new Lang.Class({
|
|||
Main.uiGroup.add_actor(this._group);
|
||||
|
||||
let constraint = new Clutter.BindConstraint({ source: global.stage,
|
||||
coordinate: Clutter.BindCoordinate.POSITION | Clutter.BindCoordinate.SIZE });
|
||||
coordinate: Clutter.BindCoordinate.ALL });
|
||||
this._group.add_constraint(constraint);
|
||||
|
||||
this._group.connect('destroy', Lang.bind(this, this._onGroupDestroy));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue