You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Replace flat buttons with flat-styled buttons with a visible pressed state
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user