1
0
mirror of https://github.com/webslides/WebSlides.git synced 2025-08-30 08:21:15 +02:00
Fixes #96 #97
This commit is contained in:
Antonio Laguna
2017-09-16 22:45:19 +02:00
parent eef9d75706
commit 13fe06daa8
6 changed files with 27 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
/*!
* Name: WebSlides
* Version: 1.4.2
* Date: 2017-09-12
* Version: 1.5.0
* Date: 2017-09-16
* Description: Making HTML presentations easy
* URL: https://github.com/webslides/webslides#readme
* Credits: @jlantunez, @LuisSacristan, @Belelros
@@ -1779,9 +1779,15 @@ var Keyboard = function () {
switch (event.which) {
case __WEBPACK_IMPORTED_MODULE_0__utils_keys__["a" /* default */].AV_PAGE:
case __WEBPACK_IMPORTED_MODULE_0__utils_keys__["a" /* default */].SPACE:
method = this.ws_.goNext;
break;
case __WEBPACK_IMPORTED_MODULE_0__utils_keys__["a" /* default */].SPACE:
if (event.shiftKey) {
method = this.ws_.goPrev;
} else {
method = this.ws_.goNext;
}
break;
case __WEBPACK_IMPORTED_MODULE_0__utils_keys__["a" /* default */].RE_PAGE:
method = this.ws_.goPrev;
break;
@@ -1806,7 +1812,10 @@ var Keyboard = function () {
method = !this.ws_.isVertical ? this.ws_.goNext : null;
break;
case __WEBPACK_IMPORTED_MODULE_0__utils_keys__["a" /* default */].F:
method = this.ws_.fullscreen;
if (!event.metaKey && !event.ctrlKey) {
method = this.ws_.fullscreen;
}
break;
}

File diff suppressed because one or more lines are too long