Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## v.2.5.2

### Fixes and improvements

- Add Swedish translation (#228)
- Add PageUp and PageDown support for slide navigation (#227)

## v.2.5.1

### Security
Expand Down
2 changes: 2 additions & 0 deletions assets/js/manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,12 @@ export class Manager {

switch (e.key) {
case "ArrowLeft":
case "PageUp":
e.preventDefault();
this.prevPage();
break;
case "ArrowRight":
case "PageDown":
e.preventDefault();
this.nextPage();
break;
Expand Down
2 changes: 2 additions & 0 deletions assets/js/presenter.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,14 @@ export class Presenter {
this.fullscreen();
break;
case "ArrowLeft":
case "PageUp":
e.preventDefault();
window.opener.dispatchEvent(
new KeyboardEvent("keydown", { key: "ArrowLeft" })
);
break;
case "ArrowRight":
case "PageDown":
e.preventDefault();
window.opener.dispatchEvent(
new KeyboardEvent("keydown", { key: "ArrowRight" })
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Claper.MixProject do
use Mix.Project

@version "2.5.1"
@version "2.5.2"

def project do
[
Expand Down
Loading
Loading