-
-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GUI: Add a fast-select "Zapper" mode for VarItemList #258
base: dev
Are you sure you want to change the base?
Conversation
false); | ||
|
||
if(consumed) return true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's for prevent the zapper menu infect in the var_item meny obj.
@@ -285,6 +460,15 @@ static bool variable_item_list_input_callback(InputEvent* event, void* context) | |||
default: | |||
break; | |||
} | |||
} else if(event->type == InputTypeLong) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only one option but switch to keep it clean
{ | ||
VariableItem* item = variable_item_list_get_selected_item(model); | ||
|
||
bool is_allowed = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is just for prevent mistaken-touch for those two options field. but they works good too, just i think not needed
|
What's new
Add a fast-select "Zapper" function for var_item type menu
it's 4 times faster when you are looking for a item (e.g. a frequency)
I't s extremely fast (and don't even need to look at the screen) if you remember the number (position) of that specific item (for example the most used two: 315 and 433.92)
TODOCurrent interface is kinda ugly. Need to design a new one maybe.For the reviewer