diff options
author | Yuri Sizov <yuris@humnom.net> | 2023-09-19 18:03:10 +0200 |
---|---|---|
committer | Yuri Sizov <yuris@humnom.net> | 2023-09-19 22:36:29 +0200 |
commit | 4bd569be95f0e8ba34813b0d8fc53bab1125ccaa (patch) | |
tree | fd74d6aacd1f1fa8d92fa61acd36d96023504579 /editor/plugins/occluder_instance_3d_editor_plugin.cpp | |
parent | 571cd0eb791b37e9a8adda9f909251138170f6b7 (diff) | |
download | redot-engine-4bd569be95f0e8ba34813b0d8fc53bab1125ccaa.tar.gz |
Replace flat buttons with flat-styled buttons with a visible pressed state
Diffstat (limited to 'editor/plugins/occluder_instance_3d_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/occluder_instance_3d_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/occluder_instance_3d_editor_plugin.cpp b/editor/plugins/occluder_instance_3d_editor_plugin.cpp index 321c330816..b0bd6f7817 100644 --- a/editor/plugins/occluder_instance_3d_editor_plugin.cpp +++ b/editor/plugins/occluder_instance_3d_editor_plugin.cpp @@ -104,7 +104,7 @@ void OccluderInstance3DEditorPlugin::_bind_methods() { OccluderInstance3DEditorPlugin::OccluderInstance3DEditorPlugin() { bake = memnew(Button); - bake->set_flat(true); + bake->set_theme_type_variation("FlatButton"); bake->set_icon(EditorNode::get_singleton()->get_editor_theme()->get_icon(SNAME("Bake"), EditorStringName(EditorIcons))); bake->set_text(TTR("Bake Occluders")); bake->hide(); |