You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Fix project manager window size when EDSCALE is not 1.0.
This commit is contained in:
@@ -230,6 +230,8 @@ static bool init_use_custom_pos = false;
|
||||
static bool init_use_custom_screen = false;
|
||||
static Vector2 init_custom_pos;
|
||||
static int64_t init_embed_parent_window_id = 0;
|
||||
static bool use_custom_res = true;
|
||||
static bool force_res = false;
|
||||
|
||||
// Debug
|
||||
|
||||
@@ -1019,8 +1021,6 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
|
||||
String remotefs_pass;
|
||||
|
||||
Vector<String> breakpoints;
|
||||
bool use_custom_res = true;
|
||||
bool force_res = false;
|
||||
bool delta_smoothing_override = false;
|
||||
|
||||
String default_renderer = "";
|
||||
@@ -4318,7 +4318,7 @@ int Main::start() {
|
||||
translation_server->get_editor_domain()->set_pseudolocalization_enabled(true);
|
||||
}
|
||||
|
||||
ProjectManager *pmanager = memnew(ProjectManager);
|
||||
ProjectManager *pmanager = memnew(ProjectManager(force_res || use_custom_res));
|
||||
ProgressDialog *progress_dialog = memnew(ProgressDialog);
|
||||
pmanager->add_child(progress_dialog);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user