We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8ec349 commit 97a1fb6Copy full SHA for 97a1fb6
src/menuFields.h
@@ -76,7 +76,11 @@ v2.0 - Calling action on every elements
76
}
77
void clamp() {
78
if (value<low) value=low;
79
+#ifdef ONLY_UP_KEY
80
+ else if (value>high) value=low;
81
+#else
82
else if (value>high) value=high;
83
+#endif
84
85
//lazy drawing, we have no drawing position here... so we will ask the menu to redraw
86
virtual promptFeedback activate(menuOut& p,Stream&c,bool canExit=false) {
0 commit comments