Skip to content

Commit

Permalink
JUCE Direct2D: fix window move causing repaint flashing
Browse files Browse the repository at this point in the history
  • Loading branch information
anjaldoshi committed Oct 2, 2024
1 parent dfa6a17 commit a09ec15
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3397,8 +3397,7 @@ class HWNDComponentPeer final : public ComponentPeer
r = D2DUtilities::toRECT (modifiedPhysicalBounds);
}

if (renderContext != nullptr)
renderContext->setSize (r.right - r.left, r.bottom - r.top);
updateBorderSize();

return TRUE;
}
Expand Down

0 comments on commit a09ec15

Please sign in to comment.