Skip to content

Commit

Permalink
Merge pull request godotengine#86066 from Wiltof/tilemapPaint
Browse files Browse the repository at this point in the history
Reset TileMap editor `drag_type` when the toolbar mode is not selected
  • Loading branch information
YuriSizov committed Dec 14, 2023
2 parents f79f2ef + 5a3de5b commit a6c0c90
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions editor/plugins/tiles/tile_map_editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit a6c0c90

Please sign in to comment.