Remove focus from Sprite Region Editor dialog. Fixes #4751
(cherry picked from commit e7b7dfefd3
)
This commit is contained in:
parent
7029c96221
commit
c67b1888b5
@ -386,6 +386,7 @@ void SpriteRegionEditor::_edit_node()
|
|||||||
|
|
||||||
rect=node->get_region_rect();
|
rect=node->get_region_rect();
|
||||||
dlg_editor->popup_centered_ratio(0.85);
|
dlg_editor->popup_centered_ratio(0.85);
|
||||||
|
dlg_editor->get_ok()->release_focus();
|
||||||
}
|
}
|
||||||
|
|
||||||
inline float _snap_scalar(float p_offset, float p_step, float p_target) {
|
inline float _snap_scalar(float p_offset, float p_step, float p_target) {
|
||||||
|
Loading…
Reference in New Issue
Block a user