You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 19:41:11 +00:00
Revert "Add new editor and default theme (WIP)"
This reverts commit f045efe007.
This commit is contained in:
@@ -45,10 +45,6 @@ void EditorAudioBus::_notification(int p_what) {
|
||||
vu_r->set_progress_texture(get_icon("BusVuFull", "EditorIcons"));
|
||||
scale->set_texture(get_icon("BusVuDb", "EditorIcons"));
|
||||
|
||||
solo->set_icon(get_icon("AudioBusSolo", "EditorIcons"));
|
||||
mute->set_icon(get_icon("AudioBusMute", "EditorIcons"));
|
||||
bypass->set_icon(get_icon("AudioBusBypass", "EditorIcons"));
|
||||
|
||||
disabled_vu = get_icon("BusVuFrozen", "EditorIcons");
|
||||
|
||||
prev_active = true;
|
||||
@@ -631,23 +627,23 @@ EditorAudioBus::EditorAudioBus(EditorAudioBuses *p_buses) {
|
||||
vb->add_child(hbc);
|
||||
hbc->add_spacer();
|
||||
solo = memnew(ToolButton);
|
||||
solo->set_tooltip(TTR("Toggle Solo"));
|
||||
solo->set_text("S");
|
||||
solo->set_toggle_mode(true);
|
||||
// solo->set_modulate(Color(0.8, 1.2, 0.8));
|
||||
solo->set_modulate(Color(0.8, 1.2, 0.8));
|
||||
solo->set_focus_mode(FOCUS_NONE);
|
||||
solo->connect("pressed", this, "_solo_toggled");
|
||||
hbc->add_child(solo);
|
||||
mute = memnew(ToolButton);
|
||||
mute->connect("pressed", this, "_mute_toggled");
|
||||
mute->set_text("M");
|
||||
mute->set_toggle_mode(true);
|
||||
// mute->set_modulate(Color(1.2, 0.8, 0.8));
|
||||
mute->set_modulate(Color(1.2, 0.8, 0.8));
|
||||
mute->set_focus_mode(FOCUS_NONE);
|
||||
mute->set_tooltip(TTR("Toggle Mute"));
|
||||
mute->connect("pressed", this, "_mute_toggled");
|
||||
hbc->add_child(mute);
|
||||
bypass = memnew(ToolButton);
|
||||
bypass->set_tooltip(TTR("Toggle Bypass"));
|
||||
bypass->set_text("B");
|
||||
bypass->set_toggle_mode(true);
|
||||
// bypass->set_modulate(Color(1.1, 1.1, 0.8));
|
||||
bypass->set_modulate(Color(1.1, 1.1, 0.8));
|
||||
bypass->set_focus_mode(FOCUS_NONE);
|
||||
bypass->connect("pressed", this, "_bypass_toggled");
|
||||
hbc->add_child(bypass);
|
||||
@@ -767,7 +763,7 @@ void EditorAudioBuses::_update_buses() {
|
||||
|
||||
EditorAudioBus *audio_bus = memnew(EditorAudioBus(this));
|
||||
if (i == 0) {
|
||||
audio_bus->set_self_modulate(Color(0.7, 0.7, 0.7));
|
||||
audio_bus->set_self_modulate(Color(1, 0.9, 0.9));
|
||||
}
|
||||
bus_hb->add_child(audio_bus);
|
||||
audio_bus->connect("delete_request", this, "_delete_bus", varray(audio_bus), CONNECT_DEFERRED);
|
||||
|
||||
Reference in New Issue
Block a user