You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-20 14:45:44 +00:00
Rename ButtonList enum and members to MouseButton
This commit is contained in:
@@ -1353,7 +1353,7 @@ void CustomPropertyEditor::_action_pressed(int p_which) {
|
||||
void CustomPropertyEditor::_drag_easing(const Ref<InputEvent> &p_ev) {
|
||||
Ref<InputEventMouseMotion> mm = p_ev;
|
||||
|
||||
if (mm.is_valid() && mm->get_button_mask() & BUTTON_MASK_LEFT) {
|
||||
if (mm.is_valid() && mm->get_button_mask() & MOUSE_BUTTON_MASK_LEFT) {
|
||||
float rel = mm->get_relative().x;
|
||||
if (rel == 0) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user