Added the ability to track when submap is enabled or disabled. (#282)
* Added submap custom module. * Captilazation is muy importante. * Add border config
This commit is contained in:
21
options.ts
21
options.ts
@@ -350,6 +350,15 @@ const options = mkOptions(OPTIONS, {
|
||||
icon_background: opt(colors.base2),
|
||||
spacing: opt('0.45em'),
|
||||
},
|
||||
submap: {
|
||||
enableBorder: opt(false),
|
||||
border: opt(colors.teal),
|
||||
background: opt(colors.base2),
|
||||
text: opt(colors.teal),
|
||||
icon: opt(colors.teal),
|
||||
icon_background: opt(colors.base2),
|
||||
spacing: opt('0.45em'),
|
||||
},
|
||||
},
|
||||
},
|
||||
menus: {
|
||||
@@ -993,6 +1002,18 @@ const options = mkOptions(OPTIONS, {
|
||||
scrollUp: opt(''),
|
||||
scrollDown: opt(''),
|
||||
},
|
||||
submap: {
|
||||
label: opt(true),
|
||||
enabledIcon: opt(''),
|
||||
disabledIcon: opt(''),
|
||||
enabledText: opt('Submap On'),
|
||||
disabledText: opt('Submap off'),
|
||||
leftClick: opt(''),
|
||||
rightClick: opt(''),
|
||||
middleClick: opt(''),
|
||||
scrollUp: opt(''),
|
||||
scrollDown: opt(''),
|
||||
},
|
||||
weather: {
|
||||
label: opt(true),
|
||||
unit: opt<UnitType>('imperial'),
|
||||
|
||||
Reference in New Issue
Block a user