fix(btnmatrix): make ORed values work correctly with lv_btnmatrix_has_btn_ctrl (#2571)
This commit replaces the current `actual & expected` check in `lv_btnmatrix_has_btn_ctrl` with `(actual & expected) == expected`. This is required to make the function work with ORed control flags because otherwise a parity in *any* bit will result in a return value of `true` even if not all expected bits are set.
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
- fix(zoom) multiplication overflow with zoom calculations on 16-bit platforms
|
||||
- feat(msgbox): omit title label unless needed
|
||||
- feat(msgbox): add function to get selected button index
|
||||
- fix(btnmatrix): make ORed values work correctly with lv_btnmatrix_has_btn_ctrl
|
||||
|
||||
## v8.0.2 (16.07.2021)
|
||||
- fix(theme) improve button focus of keyboard
|
||||
|
||||
Reference in New Issue
Block a user