You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-19 14:31:59 +00:00
Rename Project Window width and height settings to match their function
This commit is contained in:
@@ -3061,7 +3061,7 @@ void Node3DEditorViewport::_draw() {
|
||||
Math::round(2 * EDSCALE));
|
||||
}
|
||||
if (previewing) {
|
||||
Size2 ss = Size2(ProjectSettings::get_singleton()->get("display/window/size/width"), ProjectSettings::get_singleton()->get("display/window/size/height"));
|
||||
Size2 ss = Size2(ProjectSettings::get_singleton()->get("display/window/size/viewport_width"), ProjectSettings::get_singleton()->get("display/window/size/viewport_height"));
|
||||
float aspect = ss.aspect();
|
||||
Size2 s = get_size();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user