Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions openbar@neuromorph/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@ export default class Openbar extends Extension {
// Enable/Disable Fitts Widgets
if(key == 'fitts-widgets') {
const fittsWidgets = this._settings.get_boolean('fitts-widgets');
if(fittsWidgets)
if(fittsWidgets && this.gnomeVersion < 50)
this.enableFittsWidgets();
else
this.disableFittsWidgets();
Expand Down Expand Up @@ -1557,7 +1557,8 @@ export default class Openbar extends Extension {
let dtpOn = enabledExtensions.includes('dash-to-panel@jderose9.github.com');
// Enable button proximity to interact with panel buttons without having to point precisely at them.
const fittsWidgets = this._settings.get_boolean('fitts-widgets');
if(fittsWidgets && !dtpOn)
const supportsFittsWidgets = this.gnomeVersion < 50;
if(fittsWidgets && supportsFittsWidgets && !dtpOn)
this.fittsEnableTimeoutId = setTimeout(() => {
this.enableFittsWidgets();
this.fittsEnableTimeoutId = null;
Expand Down
5 changes: 3 additions & 2 deletions openbar@neuromorph/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@
"46",
"47",
"48",
"49"
"49",
"50"
],
"url": "https://github.com/neuromorph/openbar",
"uuid": "openbar@neuromorph",
"version": 42
"version": 43
}