You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 19:41:11 +00:00
Fix misaligned zoom icon in Texture Region Editor plugin
The zoom icon was aligned on top compared to the others zoom buttons from the HBox container. Closes #12668.
This commit is contained in:
@@ -860,6 +860,7 @@ TextureRegionEditor::TextureRegionEditor(EditorNode *p_editor) {
|
||||
hb_tools->add_child(separator);
|
||||
|
||||
icon_zoom = memnew(TextureRect);
|
||||
icon_zoom->set_stretch_mode(TextureRect::STRETCH_KEEP_ASPECT_CENTERED);
|
||||
hb_tools->add_child(icon_zoom);
|
||||
|
||||
zoom_out = memnew(ToolButton);
|
||||
|
||||
Reference in New Issue
Block a user