[Libreoffice-commits] online.git: loleaflet/dist loleaflet/src
Henry Castro
hcastro at collabora.com
Sat Jan 7 13:32:21 UTC 2017
loleaflet/dist/loleaflet-help.html | 2 +-
loleaflet/src/map/handler/Map.Keyboard.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit e1b7e53b3a6f006eec5728c3ec88079c34b4f3c6
Author: Henry Castro <hcastro at collabora.com>
Date: Sat Jan 7 08:44:35 2017 -0400
tdf#103779: Help menu accessibility, part 3
Change shortcut to Ctrl + Shift + ?
diff --git a/loleaflet/dist/loleaflet-help.html b/loleaflet/dist/loleaflet-help.html
index bfed701..15c79d3 100644
--- a/loleaflet/dist/loleaflet-help.html
+++ b/loleaflet/dist/loleaflet-help.html
@@ -31,7 +31,7 @@
<tr> <td class="function">Cut</td> <td class="shortcut">Ctrl + X</td> </tr>
<tr> <td class="function">Paste as unformatted text</td> <td class="shortcut">Ctrl + Alt + Shift + V</td> </tr>
<tr> <td class="function">Print (Download as PDF)</td> <td class="shortcut">Ctrl + P</td> </tr>
- <tr> <td class="function">Display the Keyboard shortcuts help</td> <td class="shortcut">Ctrl + H</td> </tr>
+ <tr> <td class="function">Display the Keyboard shortcuts help</td> <td class="shortcut">Ctrl + Shift + ?</td> </tr>
</table>
</div>
<div id="text-shortcuts" style="display: none;">
diff --git a/loleaflet/src/map/handler/Map.Keyboard.js b/loleaflet/src/map/handler/Map.Keyboard.js
index 77302a8..0da5e09 100644
--- a/loleaflet/src/map/handler/Map.Keyboard.js
+++ b/loleaflet/src/map/handler/Map.Keyboard.js
@@ -398,7 +398,7 @@ L.Map.Keyboard = L.Handler.extend({
e.originalEvent.preventDefault();
}
- if (e.originalEvent.ctrlKey && (e.originalEvent.key === 'h' || e.originalEvent.key === 'H')) {
+ if (e.originalEvent.ctrlKey && e.originalEvent.shiftKey && e.originalEvent.key === '?') {
map.showLOKeyboardHelp();
e.originalEvent.preventDefault();
return true;
More information about the Libreoffice-commits
mailing list