Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix frame offset on high-dpi screens
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Sep 19, 2023
1 parent 338f46a commit bffb0a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/Common/IldaeilUI.cpp
Expand Up @@ -252,7 +252,7 @@ class IldaeilUI : public UI,
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))
{
Expand Down

0 comments on commit bffb0a5

Please sign in to comment.