dwellClick: Reindent modes map
Using multiple spaces after property names in order to align the values isn't something we do elsewhere. Instead, align the values by using a fixed 4-space indent as preferred by gjs nowadays. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/608
This commit is contained in:
parent
95b80eec01
commit
8c28f9a77d
@ -8,26 +8,26 @@ const KEY_DWELL_CLICK_ENABLED = 'dwell-click-enabled';
|
|||||||
const KEY_DWELL_MODE = 'dwell-mode';
|
const KEY_DWELL_MODE = 'dwell-mode';
|
||||||
const DWELL_MODE_WINDOW = 'window';
|
const DWELL_MODE_WINDOW = 'window';
|
||||||
const DWELL_CLICK_MODES = {
|
const DWELL_CLICK_MODES = {
|
||||||
primary: {
|
primary: {
|
||||||
name: _("Single Click"),
|
name: _("Single Click"),
|
||||||
icon: 'pointer-primary-click-symbolic',
|
icon: 'pointer-primary-click-symbolic',
|
||||||
type: Clutter.PointerA11yDwellClickType.PRIMARY
|
type: Clutter.PointerA11yDwellClickType.PRIMARY
|
||||||
},
|
},
|
||||||
double: {
|
double: {
|
||||||
name: _("Double Click"),
|
name: _("Double Click"),
|
||||||
icon: 'pointer-double-click-symbolic',
|
icon: 'pointer-double-click-symbolic',
|
||||||
type: Clutter.PointerA11yDwellClickType.DOUBLE
|
type: Clutter.PointerA11yDwellClickType.DOUBLE
|
||||||
},
|
},
|
||||||
drag: {
|
drag: {
|
||||||
name: _("Drag"),
|
name: _("Drag"),
|
||||||
icon: 'pointer-drag-symbolic',
|
icon: 'pointer-drag-symbolic',
|
||||||
type: Clutter.PointerA11yDwellClickType.DRAG
|
type: Clutter.PointerA11yDwellClickType.DRAG
|
||||||
},
|
},
|
||||||
secondary: {
|
secondary: {
|
||||||
name: _("Secondary Click"),
|
name: _("Secondary Click"),
|
||||||
icon: 'pointer-secondary-click-symbolic',
|
icon: 'pointer-secondary-click-symbolic',
|
||||||
type: Clutter.PointerA11yDwellClickType.SECONDARY
|
type: Clutter.PointerA11yDwellClickType.SECONDARY
|
||||||
},
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
var DwellClickIndicator = GObject.registerClass(
|
var DwellClickIndicator = GObject.registerClass(
|
||||||
|
Loading…
Reference in New Issue
Block a user