1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

Fix some TileMapLayer editing problems

This commit is contained in:
kobewi
2024-06-29 18:18:54 +02:00
parent 25de53e147
commit 92b0375785
2 changed files with 7 additions and 3 deletions

View File

@@ -763,9 +763,13 @@ bool TileMapLayerEditorTilesPlugin::forward_canvas_gui_input(const Ref<InputEven
}
} else {
// Released
_stop_dragging();
// Released.
drag_erasing = false;
if (drag_type == DRAG_TYPE_NONE) {
return false;
} else {
_stop_dragging();
}
}
CanvasItemEditor::get_singleton()->update_viewport();