Skip to content

Commit

Permalink
Merge pull request #66244 from GuilhermeGSousa/tilemap-dock-release-fix
Browse files Browse the repository at this point in the history
Fix mouse release leaving dock area
  • Loading branch information
akien-mga committed Sep 27, 2022
2 parents 33dbcea + 1ae1a02 commit c2f6664
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions editor/plugins/tiles/tile_map_editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1735,7 +1735,6 @@ void TileMapEditorTilesPlugin::_tile_atlas_control_mouse_exited() {
hovered_tile.source_id = TileSet::INVALID_SOURCE;
hovered_tile.set_atlas_coords(TileSetSource::INVALID_ATLAS_COORDS);
hovered_tile.alternative_tile = TileSetSource::INVALID_TILE_ALTERNATIVE;
tile_set_dragging_selection = false;
tile_atlas_control->queue_redraw();
}

Expand Down Expand Up @@ -1894,7 +1893,6 @@ void TileMapEditorTilesPlugin::_tile_alternatives_control_mouse_exited() {
hovered_tile.source_id = TileSet::INVALID_SOURCE;
hovered_tile.set_atlas_coords(TileSetSource::INVALID_ATLAS_COORDS);
hovered_tile.alternative_tile = TileSetSource::INVALID_TILE_ALTERNATIVE;
tile_set_dragging_selection = false;
alternative_tiles_control->queue_redraw();
}

Expand Down

0 comments on commit c2f6664

Please sign in to comment.