You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Rename TextureRect.expand to ignore_texture_size
This commit is contained in:
@@ -84,7 +84,7 @@ TexturePreview::TexturePreview(Ref<Texture2D> p_texture, bool p_show_metadata) {
|
||||
texture_display->set_texture(p_texture);
|
||||
texture_display->set_anchors_preset(TextureRect::PRESET_WIDE);
|
||||
texture_display->set_stretch_mode(TextureRect::STRETCH_KEEP_ASPECT_CENTERED);
|
||||
texture_display->set_expand(true);
|
||||
texture_display->set_ignore_texture_size(true);
|
||||
add_child(texture_display);
|
||||
|
||||
if (p_show_metadata) {
|
||||
|
||||
Reference in New Issue
Block a user