Skip to content

Commit

Permalink
menu applet: Fix reference error caused by 9aed706.
Browse files Browse the repository at this point in the history
(cinnamon:603031): Cjs-WARNING **: 14:08:19.419: JS ERROR: ReferenceError: applet is not defined
getDragActor@/usr/share/cinnamon/applets/[email protected]/applet.js:539:9
_Draggable<.startDrag@/usr/share/cinnamon/js/ui/dnd.js:264:31
wrapper@resource:///org/cinnamon/cjs/modules/_legacy.js:82:22
_Draggable<._maybeStartDrag@/usr/share/cinnamon/js/ui/dnd.js:365:17
wrapper@resource:///org/cinnamon/cjs/modules/_legacy.js:82:22
_Draggable<._onEvent@/usr/share/cinnamon/js/ui/dnd.js:205:24
wrapper@resource:///org/cinnamon/cjs/modules/_legacy.js:82:22
  • Loading branch information
mtwebster committed May 22, 2020
1 parent 59f8d6f commit 0de8c15
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ class ApplicationButton extends GenericApplicationButton {
}

getDragActor() {
return this.app.create_icon_texture(applet.favIconSize);
return this.app.create_icon_texture(this.applet.favIconSize);
}

// Returns the original actor that should align with the actor
Expand Down

0 comments on commit 0de8c15

Please sign in to comment.