Browse Source

Fix frame offset on high-dpi screens

Signed-off-by: falkTX <falktx@falktx.com>
main
falkTX 2 months ago
parent
commit
bffb0a5aa1
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      plugins/Common/IldaeilUI.cpp

+ 1
- 1
plugins/Common/IldaeilUI.cpp View File

@@ -252,7 +252,7 @@ public:
ImGuiStyle& style(ImGui::GetStyle());
style.FrameRounding = 4 * scaleFactor;

const double paddingY = style.WindowPadding.y * 2 * scaleFactor;
const double paddingY = style.WindowPadding.y * 2;

if (d_isNotEqual(scaleFactor, 1.0))
{


Loading…
Cancel
Save