Skip to content

Commit

Permalink
Fix windows compile
Browse files Browse the repository at this point in the history
  • Loading branch information
pajlada committed Oct 8, 2023
1 parent 74b3224 commit d77ec34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widgets/BaseWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ bool BaseWindow::handleSHOWWINDOW(MSG *msg)

if (auto dpi = getWindowDpi(msg->hwnd))
{
float currentScale = (float)dpi.get() / 96.F;
float currentScale = (float)dpi.value() / 96.F;
if (currentScale != this->nativeScale_)
{
this->nativeScale_ = currentScale;
Expand Down

0 comments on commit d77ec34

Please sign in to comment.