Replace Clutter.Point by Graphene.Point
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/421
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
PopupImageMenuItem, PopupMenu, PopupDummyMenu, PopupSubMenu,
|
||||
PopupMenuSection, PopupSubMenuMenuItem, PopupMenuManager */
|
||||
|
||||
const { Atk, Clutter, Gio, GObject, Shell, St } = imports.gi;
|
||||
const { Atk, Clutter, Gio, GObject, Graphene, Shell, St } = imports.gi;
|
||||
const Signals = imports.signals;
|
||||
|
||||
const BoxPointer = imports.ui.boxpointer;
|
||||
@ -1130,7 +1130,7 @@ class PopupSubMenuMenuItem extends PopupBaseMenuItem {
|
||||
this.add(expander, { expand: true });
|
||||
|
||||
this._triangle = arrowIcon(St.Side.RIGHT);
|
||||
this._triangle.pivot_point = new Clutter.Point({ x: 0.5, y: 0.6 });
|
||||
this._triangle.pivot_point = new Graphene.Point({ x: 0.5, y: 0.6 });
|
||||
|
||||
this._triangleBin = new St.Widget({ y_expand: true,
|
||||
y_align: Clutter.ActorAlign.CENTER });
|
||||
|
Reference in New Issue
Block a user