瀏覽代碼

Fix EditorAudioBus corner radius

Giganzo 1 年之前
父節點
當前提交
5d62e12fcb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      editor/editor_audio_buses.cpp

+ 1 - 1
editor/editor_audio_buses.cpp

@@ -127,7 +127,7 @@ void EditorAudioBus::_notification(int p_what) {
 			} else if (has_focus()) {
 			} else if (has_focus()) {
 				draw_style_box(get_theme_stylebox(SNAME("focus"), SNAME("Button")), Rect2(Vector2(), get_size()));
 				draw_style_box(get_theme_stylebox(SNAME("focus"), SNAME("Button")), Rect2(Vector2(), get_size()));
 			} else {
 			} else {
-				draw_style_box(get_theme_stylebox(SceneStringName(panel), SNAME("TabContainer")), Rect2(Vector2(), get_size()));
+				draw_style_box(get_theme_stylebox(SNAME("BottomPanel"), EditorStringName(EditorStyles)), Rect2(Vector2(), get_size()));
 			}
 			}
 
 
 			if (get_index() != 0 && hovering_drop) {
 			if (get_index() != 0 && hovering_drop) {