Skip to content

Commit

Permalink
Bump MAX_LAYER_COUNT from 16 to 32 (see PR #66)
Browse files Browse the repository at this point in the history
  • Loading branch information
precondition committed Nov 3, 2024
1 parent a76a2d8 commit cdc5d3f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/assets/js/dual_sliders_conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,10 @@ keyCountSlider.noUiSlider.on("change",
* 16 layers in a keymap so in order to make the slider more comfortable to use,
* we limit the max to 16. However, we can and should change that if we do find
* a keymap with more 16 layers.
*
* EDIT: 32-layer keymap found! See posts/keymaps/rafaelromao.md @ PR#66
*/
const MAX_LAYER_COUNT = 16;
const MAX_LAYER_COUNT = 32;
const layerCountPipsStep = 4;
let layerCountPips = [1]
for (let v = layerCountPipsStep; v <= MAX_LAYER_COUNT ; v += layerCountPipsStep) {
Expand Down

0 comments on commit cdc5d3f

Please sign in to comment.