Skip to content

Commit

Permalink
refactor: initialize Graphene.Point directly
Browse files Browse the repository at this point in the history
This was previously not possible due to a bug in @girs/gjs, but the bug
is now fixed.

See gjsify/ts-for-gir#170
  • Loading branch information
flexagoon committed Jul 19, 2024
1 parent e6e5f2b commit 439a9e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ const OverviewShadowActor = GObject.registerClass(
super({
source, // the source shadow actor shown in desktop
name: constants.OVERVIEW_SHADOW_ACTOR,
pivotPoint: new Graphene.Point().init(0.5, 0.5),
pivotPoint: new Graphene.Point({x: 0.5, y: 0.5}),
});

this._window_preview = window_preview;
Expand Down

0 comments on commit 439a9e3

Please sign in to comment.