aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/core
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2018-09-26 14:23:10 +0200
committerRigel Kent <sendmemail@rigelk.eu>2018-09-26 14:23:19 +0200
commit4a216666e7f353e638c6927a9ff0c8fce4e94014 (patch)
tree161bbc26b02de636bae4977bcd169d142c056484 /client/src/app/core
parent2e7cf5ae0cf8fbc9526742b67a0079d42211644c (diff)
downloadPeerTube-4a216666e7f353e638c6927a9ff0c8fce4e94014.tar.gz
PeerTube-4a216666e7f353e638c6927a9ff0c8fce4e94014.tar.zst
PeerTube-4a216666e7f353e638c6927a9ff0c8fce4e94014.zip
add shortcuts icon in menu
Diffstat (limited to 'client/src/app/core')
-rw-r--r--client/src/app/core/hotkeys/hotkeys.component.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/client/src/app/core/hotkeys/hotkeys.component.ts b/client/src/app/core/hotkeys/hotkeys.component.ts
index fd62289fa..512a2399a 100644
--- a/client/src/app/core/hotkeys/hotkeys.component.ts
+++ b/client/src/app/core/hotkeys/hotkeys.component.ts
@@ -29,7 +29,7 @@ export class CheatSheetComponent implements OnInit, OnDestroy {
29 if (isOpen === false) { 29 if (isOpen === false) {
30 this.helpVisible = false 30 this.helpVisible = false
31 } else { 31 } else {
32 this.toggleCheatSheet() 32 this.toggleHelpVisible()
33 } 33 }
34 }) 34 })
35 } 35 }
@@ -41,6 +41,10 @@ export class CheatSheetComponent implements OnInit, OnDestroy {
41 } 41 }
42 42
43 public toggleCheatSheet (): void { 43 public toggleCheatSheet (): void {
44 this.hotkeysService.cheatSheetToggle.next(!this.helpVisible)
45 }
46
47 public toggleHelpVisible (): void {
44 this.helpVisible = !this.helpVisible 48 this.helpVisible = !this.helpVisible
45 } 49 }
46} 50}