Skip to content

Commit

Permalink
fix popup scale
Browse files Browse the repository at this point in the history
  • Loading branch information
shahriarlabib000 committed Sep 19, 2024
1 parent 694d3c2 commit 3bbfc78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/plugins/sprite_2d_editor_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ Sprite2DEditor::Sprite2DEditor() {
debug_uv = memnew(Panel);
debug_uv->connect(SceneStringName(gui_input), callable_mp(this, &Sprite2DEditor::_debug_uv_input));
debug_uv->connect(SceneStringName(draw), callable_mp(this, &Sprite2DEditor::_debug_uv_draw));
debug_uv->set_custom_minimum_size(Size2(800, 500) * EDSCALE);
debug_uv->set_custom_minimum_size(Size2(800, 400) * EDSCALE);
debug_uv->set_clip_contents(true);
vb->add_margin_child(TTR("Preview:"), debug_uv, true);

Expand Down

0 comments on commit 3bbfc78

Please sign in to comment.