cleanup: Avoid unnecessary parentheses
Extra parentheses usually add noise rather than clarity, so avoid them. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/805
This commit is contained in:

committed by
Georges Basile Stavracas Neto

parent
ebf77748a8
commit
e44adb92cf
@ -62,8 +62,8 @@ class DwellClickIndicator extends PanelMenu.Button {
|
||||
|
||||
_syncMenuVisibility() {
|
||||
this.visible =
|
||||
(this._a11ySettings.get_boolean(KEY_DWELL_CLICK_ENABLED) &&
|
||||
this._a11ySettings.get_string(KEY_DWELL_MODE) == DWELL_MODE_WINDOW);
|
||||
this._a11ySettings.get_boolean(KEY_DWELL_CLICK_ENABLED) &&
|
||||
this._a11ySettings.get_string(KEY_DWELL_MODE) == DWELL_MODE_WINDOW;
|
||||
|
||||
return GLib.SOURCE_REMOVE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user