1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-06 19:41:11 +00:00

Merge pull request #86066 from Wiltof/tilemapPaint

Reset TileMap editor `drag_type` when the toolbar mode is not selected
This commit is contained in:
Yuri Sizov
2023-12-14 17:38:57 +01:00

View File

@@ -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;
}