Hide smart snapping line when guideline dragging ends

(cherry picked from commit b255efba7c)
This commit is contained in:
Haoyu Qiu 2022-03-12 14:37:20 +08:00 committed by Rémi Verschelde
parent 5c64f0d7bf
commit 496d2843c4

View File

@ -1241,6 +1241,8 @@ bool CanvasItemEditor::_gui_input_rulers_and_guides(const Ref<InputEvent> &p_eve
}
}
}
snap_target[0] = SNAP_TARGET_NONE;
snap_target[1] = SNAP_TARGET_NONE;
drag_type = DRAG_NONE;
viewport->update();
return true;