diff --git a/editor/editor_themes.cpp b/editor/editor_themes.cpp index 514162e6e0e..3da98990524 100644 --- a/editor/editor_themes.cpp +++ b/editor/editor_themes.cpp @@ -931,6 +931,9 @@ Ref create_editor_theme(const Ref p_theme) { // Always display a border for PopupMenus so they can be distinguished from their background. style_popup_menu->set_border_width_all(EDSCALE); style_popup_menu->set_border_color(dark_color_2); + // Popups are separate windows by default in the editor. Windows currently don't support per-pixel transparency + // in 4.0, and even if it was, it may not always work in practice (e.g. running with compositing disabled). + style_popup_menu->set_corner_radius_all(0); theme->set_stylebox("panel", "PopupMenu", style_popup_menu); Ref style_menu_hover = style_widget_hover->duplicate();