mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-29 19:20:09 +00:00
Remove commented code from combobox.cpp.
This commit is contained in:
parent
8c13c32ac0
commit
42bb192a24
@ -404,21 +404,6 @@ bool ComboBoxListBox::onProcessMessage(Message* msg)
|
||||
}
|
||||
return true;
|
||||
|
||||
/* case JM_IDLE: { */
|
||||
/* /\* if the user clicks outside the listbox *\/ */
|
||||
/* if (!jmouse_b(1) && jmouse_b(0) && !jwidget_has_mouse(widget)) { */
|
||||
/* ComboBox *combobox = jwidget_get_data(combo_widget, JI_COMBOBOX); */
|
||||
|
||||
/* if (combobox->entry && !jwidget_has_mouse(combobox->entry) && */
|
||||
/* combobox->button && !jwidget_has_mouse(combobox->button) && */
|
||||
/* combobox->window && !jwidget_has_mouse(combobox->window)) { */
|
||||
/* combobox_close_window(combo_widget); */
|
||||
/* return true; */
|
||||
/* } */
|
||||
/* } */
|
||||
/* break; */
|
||||
/* } */
|
||||
|
||||
case JM_KEYPRESSED:
|
||||
if (hasFocus()) {
|
||||
if (msg->key.scancode == KEY_SPACE ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user