浏览代码

Merge pull request #97113 from Giganzo/audio-corners

Fix EditorAudioBus corner radius
Rémi Verschelde 1 年之前
父节点
当前提交
922ae7e7b5
共有 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) {