Skip to content

Commit

Permalink
fix windows compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
pajlada committed Oct 8, 2023
1 parent 5cbea57 commit 74b3224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widgets/AttachedWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ void AttachedWindow::updateWindowRect(void *_attachedPtr)
float scale = 1.f;
if (auto dpi = getWindowDpi(attached))
{
scale = dpi.get() / 96.f;
scale = *dpi / 96.f;

for (auto w : this->ui_.split->findChildren<BaseWidget *>())
{
Expand Down

0 comments on commit 74b3224

Please sign in to comment.