mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Merge pull request #101980 from bruvzg/init_scale
[DisplayServer] Decouple `show_window(MAIN_WINDOW_ID)` from `DisplayServer` constructor, update project manager size/position after DS init.
This commit is contained in:
commit
a117a2b09c
9 changed files with 74 additions and 23 deletions
|
|
@ -7017,7 +7017,7 @@ EditorNode::EditorNode() {
|
|||
switch (display_scale) {
|
||||
case 0:
|
||||
// Try applying a suitable display scale automatically.
|
||||
EditorScale::set_scale(EditorSettings::get_singleton()->get_auto_display_scale());
|
||||
EditorScale::set_scale(EditorSettings::get_auto_display_scale());
|
||||
break;
|
||||
case 1:
|
||||
EditorScale::set_scale(0.75);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue