1
0
mirror of https://github.com/webslides/WebSlides.git synced 2025-08-16 10:04:45 +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,3 +1,9 @@
# 1.5.0 (2017-09-16)
- [[#96]((https://github.com/webslides/webslides/issues/96))] Using Shift Space now allows to go to previous slide.
- [[#97]((https://github.com/webslides/webslides/issues/97))] Fixing CTRL/CMD + F not allowing to search.
- Dependencies updated.
# 1.4.2 (2017-09-12)
- Fixed `.toc` class. (Regression from Sass)

2
package-lock.json generated
View File

@@ -1,6 +1,6 @@
{
"name": "webslides",
"version": "1.4.2",
"version": "1.5.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@@ -1,6 +1,6 @@
{
"name": "webslides",
"version": "1.4.2",
"version": "1.5.0",
"description": "Making HTML presentations easy",
"main": "static/js/webslides.js",
"repository": {
@@ -67,7 +67,7 @@
"lint:css": "sass-lint -v -f stylish",
"dev": "webpack-dev-server",
"test": "jest && codecov",
"preversion": "npm test",
"preversion": "npm jest",
"postversion": "npm run build && git add -A static && node ./zip-release.js && git push && git push --tags"
},
"release": {

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

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