mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Small fixes, mostly dupicated code
This commit is contained in:
@@ -59,7 +59,7 @@ void BaseButton::_gui_input(Ref<InputEvent> p_event) {
|
||||
Ref<InputEventMouseButton> b = p_event;
|
||||
|
||||
if (b.is_valid()) {
|
||||
if (status.disabled || ((1 << (b->get_button_index() - 1)) & button_mask) == 0)
|
||||
if (((1 << (b->get_button_index() - 1)) & button_mask) == 0)
|
||||
return;
|
||||
|
||||
if (status.pressing_button)
|
||||
|
||||
Reference in New Issue
Block a user