From e09c94739976b33bcdf1e27cc157430b10ed6966 Mon Sep 17 00:00:00 2001 From: slowriot Date: Thu, 2 Apr 2026 22:40:38 +0100 Subject: [PATCH] apply comment suggestion Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- backends/imgui_impl_emscripten.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backends/imgui_impl_emscripten.cpp b/backends/imgui_impl_emscripten.cpp index ce490569b..19c42c2bd 100644 --- a/backends/imgui_impl_emscripten.cpp +++ b/backends/imgui_impl_emscripten.cpp @@ -12,7 +12,7 @@ // 2024-12-08: Inputs: Prevent "Delete" key from getting printed in text input. // 2024-12-06: Inputs: Added special handling for Tab and Enter event capture. // 2024-12-06: Inputs: Handle blur and focus events correctly, focusin and focusout aren't enough. -// 2024-12-06: Emscripten: Don't use devicePixelRatio as it's not needed with WebGPU. +// 2024-12-06: Emscripten: Don't rely on devicePixelRatio for WebGPU framebuffer sizing; CSS->ImGui scaling may still use it. // 2024-11-22: Initial version by Eugene Hopkinson. (#8178) #include "imgui.h"