Skip to content

Commit

Permalink
Small change to guard end-grab if clone is null (and showed up in #524,
Browse files Browse the repository at this point in the history
although that was on gnome 42, which isn't strictly supported in this
branch... but this change won't hurt).
  • Loading branch information
jtaala committed May 16, 2023
1 parent 7358da5 commit 477e87a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grab.js
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ var MoveGrab = class MoveGrab {
time: prefs.animation_time,
scale_x: 1,
scale_y: 1,
opacity: clone.__oldOpacity || 255
opacity: clone?.__oldOpacity ?? 255,
};

if (this.dnd) {
Expand Down

0 comments on commit 477e87a

Please sign in to comment.