fix(lua): curve value incorrect in model.getInput and model.insertInput API calls (#6357)

This commit is contained in:
philmoz
2025-06-13 11:07:14 +10:00
committed by GitHub
parent 8ed3374bcc
commit bca6dc076e
3 changed files with 5 additions and 17 deletions
+1 -1
View File
@@ -147,7 +147,7 @@ void editCurveRef(coord_t x, coord_t y, CurveRef & curve, event_t event, LcdFlag
drawCurveName(x, y, v.value, flags);
if (active && menuHorizontalPosition == 1) {
if (event == EVT_KEY_LONG(KEY_ENTER) && v.value != 0) {
s_currIdxSubMenu = abs(curve.value) - 1;
s_currIdxSubMenu = abs(v.value) - 1;
pushMenu(menuModelCurveOne);
}
else {