summaryrefslogtreecommitdiffstats
path: root/editor/plugins/style_box_editor_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-11-20 15:37:37 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-11-20 15:37:37 +0100
commit855402dfeefcf46a4e10d8a6aaa59f677e9b1f44 (patch)
tree8529a53231251caadc3d49b965216890dee2985b /editor/plugins/style_box_editor_plugin.cpp
parentead18458c76ccabf0dc57ea869679b462762e9ef (diff)
parentf6714858bfcfd22e481629e096c0e7293aed8cd9 (diff)
downloadredot-engine-855402dfeefcf46a4e10d8a6aaa59f677e9b1f44.tar.gz
Merge pull request #68904 from aaronfranke/texture-methods
Rename TextureButton set_*_texture methods to set_texture_*
Diffstat (limited to 'editor/plugins/style_box_editor_plugin.cpp')
-rw-r--r--editor/plugins/style_box_editor_plugin.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/plugins/style_box_editor_plugin.cpp b/editor/plugins/style_box_editor_plugin.cpp
index fffcce6d9a..16a6a48df9 100644
--- a/editor/plugins/style_box_editor_plugin.cpp
+++ b/editor/plugins/style_box_editor_plugin.cpp
@@ -80,9 +80,9 @@ void StyleBoxPreview::_notification(int p_what) {
// See https://github.com/godotengine/godot/issues/50743.
break;
}
- grid_preview->set_normal_texture(get_theme_icon(SNAME("StyleBoxGridInvisible"), SNAME("EditorIcons")));
- grid_preview->set_pressed_texture(get_theme_icon(SNAME("StyleBoxGridVisible"), SNAME("EditorIcons")));
- grid_preview->set_hover_texture(get_theme_icon(SNAME("StyleBoxGridVisible"), SNAME("EditorIcons")));
+ grid_preview->set_texture_normal(get_theme_icon(SNAME("StyleBoxGridInvisible"), SNAME("EditorIcons")));
+ grid_preview->set_texture_pressed(get_theme_icon(SNAME("StyleBoxGridVisible"), SNAME("EditorIcons")));
+ grid_preview->set_texture_hover(get_theme_icon(SNAME("StyleBoxGridVisible"), SNAME("EditorIcons")));
checkerboard->set_texture(get_theme_icon(SNAME("Checkerboard"), SNAME("EditorIcons")));
} break;
}