Skip to content

Commit

Permalink
Fix an exception when using the scroll-wheel.
Browse files Browse the repository at this point in the history
  • Loading branch information
klangman committed Jun 9, 2022
1 parent 9283b8a commit d1e4642
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions CassiaPanelLaunchers@klangman/applet.js
Original file line number Diff line number Diff line change
Expand Up @@ -937,9 +937,6 @@ class PanelAppLauncher extends DND.LauncherDraggable {
this.menu.recalcItemSizes();
if (wheelSetting===ScrollWheelAction.OnGlobal) {
this._applet.thumbnailSize = numThumbs;
} else if (wheelSetting===ScrollWheelAction.OnApplication) {
let launcher = this._applet.lookupLauncherForApp(this._app);
launcher.menu.numThumbs = numThumbs;
}
}

Expand Down Expand Up @@ -1182,7 +1179,6 @@ class PanelAppLauncher extends DND.LauncherDraggable {
this.launch();
} else if (this._windows.length > 1 && leftActionGrouped != LeftClickGrouped.Toggle) {
//let thumbnailOnClick = this.settings.getValue("menu-show-on-click");
log( `leftActionGrouped = ${leftActionGrouped}` );
if (leftActionGrouped === LeftClickGrouped.Thumbnail ){
if (this.menu.isOpen === false) {
this.openThumbnailMenu();
Expand Down
2 changes: 1 addition & 1 deletion CassiaPanelLaunchers@klangman/po/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-06-07 09:44-0400\n"
"POT-Creation-Date: 2022-06-08 23:00-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down

0 comments on commit d1e4642

Please sign in to comment.