diff options
author | kobewi <kobewi4e@gmail.com> | 2023-08-13 02:33:39 +0200 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2023-09-03 19:58:18 +0200 |
commit | 6de34fde27f650f738a1e46992f1b783f2cf9e76 (patch) | |
tree | a1c1785f2c20e8874d622aae75ff70be43192ece /editor/editor_resource_preview.cpp | |
parent | fa3428ff25bc577d2a3433090478a6d615567056 (diff) | |
download | redot-engine-6de34fde27f650f738a1e46992f1b783f2cf9e76.tar.gz |
Add EditorStringNames singleton
Diffstat (limited to 'editor/editor_resource_preview.cpp')
-rw-r--r-- | editor/editor_resource_preview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_resource_preview.cpp b/editor/editor_resource_preview.cpp index c6747c4481..f6bd4e7001 100644 --- a/editor/editor_resource_preview.cpp +++ b/editor/editor_resource_preview.cpp @@ -341,7 +341,7 @@ void EditorResourcePreview::_thread() { void EditorResourcePreview::_update_thumbnail_sizes() { if (small_thumbnail_size == -1) { - small_thumbnail_size = EditorNode::get_singleton()->get_theme_base()->get_theme_icon(SNAME("Object"), SNAME("EditorIcons"))->get_width(); // Kind of a workaround to retrieve the default icon size + small_thumbnail_size = EditorNode::get_singleton()->get_theme_base()->get_editor_theme_icon(SNAME("Object"))->get_width(); // Kind of a workaround to retrieve the default icon size } } |