aboutsummaryrefslogtreecommitdiffhomepage
path: root/desktop/sources/scripts
diff options
context:
space:
mode:
authorneauoire <[email protected]>2020-02-05 10:06:09 -0500
committerneauoire <[email protected]>2020-02-05 10:06:09 -0500
commite7e401dbb7cdd36d11400339b722cb037dab2c5d (patch)
tree2fd91fdfa5314f93ba08b89d9193b83fbe62a599 /desktop/sources/scripts
parentd55c73f0abb0ee4a8da5e9b472e8aa194deb5b66 (diff)
downloadOrca-e7e401dbb7cdd36d11400339b722cb037dab2c5d.tar.gz
Orca-e7e401dbb7cdd36d11400339b722cb037dab2c5d.zip
Added MANUAL.txt
Diffstat (limited to 'desktop/sources/scripts')
-rw-r--r--desktop/sources/scripts/client.js2
-rw-r--r--desktop/sources/scripts/lib/acels.js5
2 files changed, 4 insertions, 3 deletions
diff --git a/desktop/sources/scripts/client.js b/desktop/sources/scripts/client.js
index d1580a5..525158a 100644
--- a/desktop/sources/scripts/client.js
+++ b/desktop/sources/scripts/client.js
@@ -103,7 +103,7 @@ function Client () {
this.acels.set('Clock', 'Incr. Speed(10x)', 'CmdOrCtrl+>', () => { this.clock.modSpeed(10, true) })
this.acels.set('Clock', 'Decr. Speed(10x)', 'CmdOrCtrl+<', () => { this.clock.modSpeed(-10, true) })
- this.acels.set('View', 'Toggle Retina', '`', () => { this.toggleRetina() })
+ this.acels.set('View', 'Toggle Retina', 'Tab', () => { this.toggleRetina() })
this.acels.set('View', 'Toggle Guide', 'CmdOrCtrl+G', () => { this.toggleGuide() })
this.acels.set('View', 'Incr. Col', ']', () => { this.modGrid(1, 0) })
this.acels.set('View', 'Decr. Col', '[', () => { this.modGrid(-1, 0) })
diff --git a/desktop/sources/scripts/lib/acels.js b/desktop/sources/scripts/lib/acels.js
index 14c56d6..cc00d61 100644
--- a/desktop/sources/scripts/lib/acels.js
+++ b/desktop/sources/scripts/lib/acels.js
@@ -73,7 +73,7 @@ function Acels (client) {
for (const cat in cats) {
text += `\n### ${cat}\n\n`
for (const item of cats[cat]) {
- text += item.accelerator ? `- \`${item.accelerator}\`: ${item.name}\n` : ''
+ text += item.accelerator ? `- \`${item.accelerator.replace('`','tilde')}\`: ${item.name}\n` : ''
}
}
return text.trim()
@@ -83,8 +83,9 @@ function Acels (client) {
const cats = this.sort()
let text = ''
for (const cat in cats) {
+ text += `\n${cat}\n\n`
for (const item of cats[cat]) {
- text += item.accelerator ? `${cat}: ${item.name} | ${item.accelerator}\n` : ''
+ text += item.accelerator ? `${item.name.padEnd(25, '.')} ${item.accelerator}\n` : ''
}
}
return text.trim()