You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-16 14:00:40 +00:00
Merge pull request #27812 from guilhermefelipecgs/fix_audio_buses_font
Change font of audio notches to default font
This commit is contained in:
@@ -756,7 +756,7 @@ EditorAudioBus::EditorAudioBus(EditorAudioBuses *p_buses, bool p_is_master) {
|
|||||||
add_child(vb);
|
add_child(vb);
|
||||||
|
|
||||||
set_v_size_flags(SIZE_EXPAND_FILL);
|
set_v_size_flags(SIZE_EXPAND_FILL);
|
||||||
set_custom_minimum_size(Size2(100, 0) * EDSCALE);
|
set_custom_minimum_size(Size2(110, 0) * EDSCALE);
|
||||||
|
|
||||||
track_name = memnew(LineEdit);
|
track_name = memnew(LineEdit);
|
||||||
track_name->connect("text_entered", this, "_name_changed");
|
track_name->connect("text_entered", this, "_name_changed");
|
||||||
@@ -1394,7 +1394,7 @@ void EditorAudioMeterNotches::_notification(int p_what) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void EditorAudioMeterNotches::_draw_audio_notches() {
|
void EditorAudioMeterNotches::_draw_audio_notches() {
|
||||||
Ref<Font> font = get_font("source", "EditorFonts");
|
Ref<Font> font = get_font("font", "Label");
|
||||||
float font_height = font->get_height();
|
float font_height = font->get_height();
|
||||||
|
|
||||||
for (uint8_t i = 0; i < notches.size(); i++) {
|
for (uint8_t i = 0; i < notches.size(); i++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user