Reset TileMap editor drag_type
by using the _stop_dragging() function when the toolbar mode is not selected
This commit is contained in:
parent
84692c6252
commit
5a3de5bc30
1 changed files with 1 additions and 0 deletions
|
@ -524,6 +524,7 @@ bool TileMapEditorTilesPlugin::forward_canvas_gui_input(const Ref<InputEvent> &p
|
|||
}
|
||||
|
||||
if (CanvasItemEditor::get_singleton()->get_current_tool() != CanvasItemEditor::TOOL_SELECT) {
|
||||
_stop_dragging();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue