Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
updated alt settings button
Browse files Browse the repository at this point in the history
  • Loading branch information
vim-sroberge committed Oct 2, 2023
1 parent d7af473 commit df8b01a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vim-webgl-component",
"version": "0.2.27-dev.54",
"version": "0.2.28",
"description": "A demonstration app built on top of the vim-webgl-viewer",
"files": [
"dist"
Expand Down
7 changes: 2 additions & 5 deletions src/helpers/inputs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,8 @@ export class ComponentInputs implements VIM.InputScheme {
onKeyAction (key: number): boolean {
// F
switch (key) {
case VIM.KEYS.KEY_F4: {
this._sideState.toggleContent('settings')
return true
}
case VIM.KEYS.KEY_4: {
case VIM.KEYS.KEY_F4:
case VIM.KEYS.KEY_DIVIDE: {
this._sideState.toggleContent('settings')
return true
}
Expand Down

0 comments on commit df8b01a

Please sign in to comment.