diff options
| author | Rémi Verschelde <remi@verschelde.fr> | 2022-08-29 11:57:54 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-29 11:57:54 +0200 |
| commit | 0b8a63e47193ee3e6cd6c0986993a85fc693ca54 (patch) | |
| tree | f924f74107842bd3c316f5c5c9ab5da810314c43 /editor/plugins/polygon_2d_editor_plugin.cpp | |
| parent | 223e083d36ac1ca3f7aa46898d8870e476132f7a (diff) | |
| parent | fd6453c45ec0da79f2c7794b1c94f31fd6e477d7 (diff) | |
| download | redot-engine-0b8a63e47193ee3e6cd6c0986993a85fc693ca54.tar.gz | |
Merge pull request #65025 from akien-mga/revert-62846
Diffstat (limited to 'editor/plugins/polygon_2d_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/polygon_2d_editor_plugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/plugins/polygon_2d_editor_plugin.cpp b/editor/plugins/polygon_2d_editor_plugin.cpp index d414ff5143..b71cee8882 100644 --- a/editor/plugins/polygon_2d_editor_plugin.cpp +++ b/editor/plugins/polygon_2d_editor_plugin.cpp @@ -91,8 +91,8 @@ void Polygon2DEditor::_notification(int p_what) { uv_vscroll->set_anchors_and_offsets_preset(PRESET_RIGHT_WIDE); uv_hscroll->set_anchors_and_offsets_preset(PRESET_BOTTOM_WIDE); - } break; - + [[fallthrough]]; + } case NOTIFICATION_THEME_CHANGED: { uv_edit_draw->add_theme_style_override("panel", get_theme_stylebox(SNAME("bg"), SNAME("Tree"))); bone_scroll->add_theme_style_override("bg", get_theme_stylebox(SNAME("bg"), SNAME("Tree"))); |
