Fix TileSet Scattering setting vanishing when changing tools

This commit is contained in:
Sébastien Dunne Fulmer 2024-08-29 12:17:38 +01:00
parent fd7239cfab
commit aaa157f929
No known key found for this signature in database
GPG key ID: CEF97E77F8EC8188

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());
}
}