Merge pull request #96280 from CreatedBySeb/fix-tileset-scattering

Fix TileSet Scattering setting vanishing when changing tools
This commit is contained in:
Rémi Verschelde 2024-08-30 09:59:43 +02:00
commit 84ad611565
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 2 additions and 4 deletions

View File

@ -86,8 +86,7 @@ void TileMapLayerEditorTilesPlugin::_update_toolbar() {
transform_toolbar->show();
tools_settings_vsep_2->show();
random_tile_toggle->show();
scatter_label->show();
scatter_spinbox->show();
scatter_controls_container->set_visible(random_tile_toggle->is_pressed());
} else {
tools_settings_vsep->show();
picker_button->show();
@ -96,8 +95,7 @@ void TileMapLayerEditorTilesPlugin::_update_toolbar() {
tools_settings_vsep_2->show();
bucket_contiguous_checkbox->show();
random_tile_toggle->show();
scatter_label->show();
scatter_spinbox->show();
scatter_controls_container->set_visible(random_tile_toggle->is_pressed());
}
}