zmkfirmware / zmk

ZMK Firmware Repository
https://zmk.dev/
MIT License
2.83k stars 2.86k forks source link

fix: Properly calculate highest active layer for display. #2491

Closed petejohanson closed 2 months ago

caksoylar commented 2 months ago

Is this also changing back the layer name for layer without display-name to returning the integer index?

petejohanson commented 2 months ago

Is this also changing back the layer name for layer without display-name to returning the integer index?

Ok, found a further fix that was required for this. Tested on the nice!view with the stock widget and it now works as expected.

saponace commented 2 months ago

This fix worked for me on a corne v2 with nice!view. Thank you @petejohanson !

amacleod commented 1 month ago

For the sake of breadcrumbs, https://github.com/zmkfirmware/zmk/pull/2541 addresses #2540