Merge pull request #12797 from viprip/12668_fix_texture_region_dock_zoom_icon_is_misaligned
Fix misaligned zoom icon in Texture Region Editor plugin
This commit is contained in:
commit
e2785fbded
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue