This repository was archived by the owner on Mar 27, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -5,16 +5,16 @@ class InputManager {
55 */
66 Initialize ( context ) {
77 window . addEventListener ( 'keypress' , ( event ) => {
8- if ( event . key === 'f ' ) {
8+ if ( event . code === 'KeyF ' ) {
99 if ( event . ctrlKey )
1010 context . $store . commit ( 'ToggleSearch' ) ;
11- } else if ( event . key === 'd ' ) {
11+ } else if ( event . code === 'KeyD ' ) {
1212 if ( event . ctrlKey )
1313 context . $store . commit ( 'ToggleShowHelper' ) ;
14- } else if ( event . key === 'l ' ) {
14+ } else if ( event . code === 'KeyL ' ) {
1515 if ( event . ctrlKey )
1616 context . $store . commit ( 'ToggleMilestonesList' ) ;
17- } else if ( event . key === 'n ' ) {
17+ } else if ( event . code === 'KeyN ' ) {
1818 if ( event . ctrlKey )
1919 context . $store . commit ( 'CreateNoteDialog' ) ;
2020 }
Original file line number Diff line number Diff line change 33 <v-dialog v-model =" dialog" width =" 600" persistent >
44 <v-card >
55 <v-card-title class =" headline justify-center" dark primary-title >
6- {{this.lang.Get('helperTitle')}}
6+ {{this.$ lang.Get('helperTitle')}}
77 </v-card-title >
88
99 <v-card-text class =" text-xs-left" >
1515 <v-card-actions >
1616 <v-spacer ></v-spacer >
1717 <v-btn color =" primary" flat @click =" Close" >
18- {{this.lang.Get('close')}}
18+ {{this.$ lang.Get('close')}}
1919 </v-btn >
2020 </v-card-actions >
2121 </v-card >
Original file line number Diff line number Diff line change 22 <div ref =container >
33 <v-card ref =card width =" 500" class =" elevation-24" dark @keyup.esc.native =" Close" @keyup.enter.native =" Close" >
44 <v-card-title class =" py-0" >
5- <v-text-field v-model =" search" autofocus :placeholder =" this.lang.Get('searchLabel')" ></v-text-field >
5+ <v-text-field v-model =" search" autofocus :placeholder =" this.$ lang.Get('searchLabel')" ></v-text-field >
66 </v-card-title >
77 </v-card >
88 </div >
You can’t perform that action at this time.
0 commit comments