1
0
mirror of https://github.com/webslides/WebSlides.git synced 2025-09-01 09:03:04 +02:00

Ctrl/Cmd + F should not trigger fullscreen

Hence allowing search
#97
This commit is contained in:
Antonio Laguna
2017-09-16 19:45:13 +02:00
parent 8912d05d70
commit 3b7203c9ab
2 changed files with 13 additions and 5 deletions

View File

@@ -68,7 +68,10 @@ export default class Keyboard {
method = !this.ws_.isVertical ? this.ws_.goNext : null;
break;
case Keys.F:
method = this.ws_.fullscreen;
if (!event.metaKey && ! event.ctrlKey) {
method = this.ws_.fullscreen;
}
break;
}