aboutsummaryrefslogtreecommitdiff
path: root/editor/plugins/texture_region_editor_plugin.cpp
diff options
context:
space:
mode:
authorPoommetee Ketson2018-02-25 23:04:16 +0700
committerPoommetee Ketson2018-02-25 23:04:16 +0700
commit2de1dfa42f821fcbc140d8ae8907c060135c584b (patch)
treecd725829b00009f6df3138458eeb7a3ae6485984 /editor/plugins/texture_region_editor_plugin.cpp
parent08584b7e2215c852b80dc143cf712ccc73f9cacb (diff)
downloadgodot-2de1dfa42f821fcbc140d8ae8907c060135c584b.tar.gz
godot-2de1dfa42f821fcbc140d8ae8907c060135c584b.tar.zst
godot-2de1dfa42f821fcbc140d8ae8907c060135c584b.zip
Diffstat (limited to 'editor/plugins/texture_region_editor_plugin.cpp')
-rw-r--r--editor/plugins/texture_region_editor_plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/texture_region_editor_plugin.cpp b/editor/plugins/texture_region_editor_plugin.cpp
index 215d2ca55..7103e45cb 100644
--- a/editor/plugins/texture_region_editor_plugin.cpp
+++ b/editor/plugins/texture_region_editor_plugin.cpp
@@ -600,6 +600,7 @@ void TextureRegionEditor::apply_rect(const Rect2 &rect) {
void TextureRegionEditor::_notification(int p_what) {
switch (p_what) {
+ case NOTIFICATION_THEME_CHANGED:
case NOTIFICATION_READY: {
zoom_out->set_icon(get_icon("ZoomLess", "EditorIcons"));
zoom_reset->set_icon(get_icon("ZoomReset", "EditorIcons"));