From 56e5874267f994f71a704939343c0c388bca8f3e Mon Sep 17 00:00:00 2001 From: Relintai Date: Mon, 18 Apr 2022 19:32:17 +0200 Subject: [PATCH] Set Prop2D's conver button's style to flat, so it's in the expected style. --- modules/props_2d/editor/prop_2d_editor_plugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/props_2d/editor/prop_2d_editor_plugin.cpp b/modules/props_2d/editor/prop_2d_editor_plugin.cpp index c0370008e..ba3f1e83d 100644 --- a/modules/props_2d/editor/prop_2d_editor_plugin.cpp +++ b/modules/props_2d/editor/prop_2d_editor_plugin.cpp @@ -99,6 +99,7 @@ Prop2DEditorPlugin::Prop2DEditorPlugin(EditorNode *p_node) { editor->add_tool_menu_item("(Prop2D) Find room points.", this, "find_room_points"); Button *b = memnew(Button); + b->set_flat(true); b->connect("pressed", this, "_quick_convert_button_pressed"); b->set_text("To Prop2D");