Skip to content

Commit

Permalink
Refresh Internal Value on Key-Up
Browse files Browse the repository at this point in the history
  • Loading branch information
taufik-nurrohman committed Oct 10, 2021
1 parent 6f5ea2a commit 087c8da
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/source/tweak/keyboard.html.pug
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,9 @@ block script
| svPallete.style.backgroundColor = color;
| }
| }, false);
| source.addEventListener('keyup', function(e) {
| picker.set.apply(picker, picker.get());
| }, false);
| }
|
| enableKeyboardControls(picker, 5);
Expand Down
3 changes: 3 additions & 0 deletions tweak/keyboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,9 @@
svPallete.style.backgroundColor = color;
}
}, false);
source.addEventListener('keyup', function(e) {
picker.set.apply(picker, picker.get());
}, false);
}

enableKeyboardControls(picker, 5);
Expand Down

0 comments on commit 087c8da

Please sign in to comment.