mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Merge pull request #71045 from reduz/use-bitfield-in-core-types
Use BitField<> in core type masks
This commit is contained in:
@@ -1577,7 +1577,7 @@ void EditorPropertyEasing::_drag_easing(const Ref<InputEvent> &p_ev) {
|
||||
|
||||
const Ref<InputEventMouseMotion> mm = p_ev;
|
||||
|
||||
if (dragging && mm.is_valid() && (mm->get_button_mask() & MouseButton::MASK_LEFT) != MouseButton::NONE) {
|
||||
if (dragging && mm.is_valid() && (mm->get_button_mask().has_flag(MouseButtonMask::LEFT))) {
|
||||
float rel = mm->get_relative().x;
|
||||
if (rel == 0) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user