From 8fb77bc50f1b5c8823e166dbc6a197b156c11314 Mon Sep 17 00:00:00 2001 From: Pascal Thomet Date: Wed, 17 Apr 2024 18:55:02 +0200 Subject: [PATCH] remoting/ API --- external/netImgui | 2 +- src/hello_imgui/internal/backend_impls/abstract_runner.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/external/netImgui b/external/netImgui index 6130d019..650ff9a4 160000 --- a/external/netImgui +++ b/external/netImgui @@ -1 +1 @@ -Subproject commit 6130d0198cfd757cc654263dcde40c434969e645 +Subproject commit 650ff9a4abd750caeeddf6ea98f34908e40b2e23 diff --git a/src/hello_imgui/internal/backend_impls/abstract_runner.cpp b/src/hello_imgui/internal/backend_impls/abstract_runner.cpp index ff382ba4..6df80099 100644 --- a/src/hello_imgui/internal/backend_impls/abstract_runner.cpp +++ b/src/hello_imgui/internal/backend_impls/abstract_runner.cpp @@ -478,7 +478,7 @@ bool _CheckDpiAwareParamsChanges(HelloImGui::RunnerParams& params) #ifdef HELLOIMGUI_WITH_NETIMGUI if (params.remoteParams.enableRemoting) { - float newFontLoadingRatio = NetImgui::GetFontLoadingRatio(); + float newFontLoadingRatio = NetImgui::GetFontSizeLoadingRatio(); float currentFontLoadingRatio = dpiAwareParams.DpiFontLoadingFactor(); if (fabs(currentFontLoadingRatio - newFontLoadingRatio) > 0.001f) {