You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-01 16:38:31 +00:00
Add missing SNAME macro optimization to all theme methods call
This commit is contained in:
@@ -50,7 +50,7 @@ void StyleBoxPreview::edit(const Ref<StyleBox> &p_stylebox) {
|
||||
}
|
||||
stylebox = p_stylebox;
|
||||
if (p_stylebox.is_valid()) {
|
||||
preview->add_theme_style_override("panel", stylebox);
|
||||
preview->add_theme_style_override(SNAME("panel"), stylebox);
|
||||
stylebox->connect("changed", callable_mp(this, &StyleBoxPreview::_sb_changed));
|
||||
}
|
||||
_sb_changed();
|
||||
|
||||
Reference in New Issue
Block a user