1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-14 13:41:12 +00:00

Fix window display shrink can't set to float numbers

This commit is contained in:
geequlim
2017-10-19 22:12:46 +08:00
committed by Rémi Verschelde
parent cf5eded982
commit eeacae563c
3 changed files with 4 additions and 4 deletions

View File

@@ -1172,7 +1172,7 @@ void SceneTree::_update_root_rect() {
}
}
void SceneTree::set_screen_stretch(StretchMode p_mode, StretchAspect p_aspect, const Size2 p_minsize, int p_shrink) {
void SceneTree::set_screen_stretch(StretchMode p_mode, StretchAspect p_aspect, const Size2 p_minsize, real_t p_shrink) {
stretch_mode = p_mode;
stretch_aspect = p_aspect;