You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-31 18:41:20 +00:00
Merge pull request #113801 from KoBeWi/cheme_thanged
Fix broken VisualShader icons
This commit is contained in:
@@ -5247,10 +5247,6 @@ void VisualShaderEditor::_help_open() {
|
||||
|
||||
void VisualShaderEditor::_notification(int p_what) {
|
||||
switch (p_what) {
|
||||
case NOTIFICATION_POSTINITIALIZE: {
|
||||
_update_options_menu();
|
||||
} break;
|
||||
|
||||
case EditorSettings::NOTIFICATION_EDITOR_SETTINGS_CHANGED: {
|
||||
if (EditorSettings::get_singleton()->check_changed_settings_in_group("editors/panning")) {
|
||||
graph->get_panner()->setup((ViewPanner::ControlScheme)EDITOR_GET("editors/panning/sub_editors_panning_scheme").operator int(), ED_GET_SHORTCUT("canvas_item_editor/pan_view"), bool(EDITOR_GET("editors/panning/simple_panning")));
|
||||
@@ -5353,6 +5349,7 @@ void VisualShaderEditor::_notification(int p_what) {
|
||||
theme_dirty = true;
|
||||
}
|
||||
update_toggle_files_button();
|
||||
_update_options_menu();
|
||||
} break;
|
||||
|
||||
case NOTIFICATION_VISIBILITY_CHANGED: {
|
||||
|
||||
Reference in New Issue
Block a user