Skip to content

Commit 881dcb6

Browse files
authored
Update menuFields.h
1 parent 51bcce7 commit 881dcb6

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/menuFields.h

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,7 @@ v2.0 - Calling action on every elements
7676
}
7777
void clamp() {
7878
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-
}
79+
else if (value>high) value=high; }
8580
//lazy drawing, we have no drawing position here... so we will ask the menu to redraw
8681
virtual promptFeedback activate(menuOut& p,Stream&c,bool canExit=false) {
8782
if (activeNode!=this) {

0 commit comments

Comments
 (0)