Skip to content

Commit

Permalink
widgOverlaysScreenSizeDidChange: Use bottom-up ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
past-due committed Sep 1, 2023
1 parent 9257492 commit 44037ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/widget/widget.cpp
Expand Up @@ -343,7 +343,7 @@ static inline void forEachOverlayScreenBottomUp(const std::function<bool (const

void widgOverlaysScreenSizeDidChange(int oldWidth, int oldHeight, int newWidth, int newHeight)
{
forEachOverlayScreen([oldWidth, oldHeight, newWidth, newHeight](const OverlayScreen& overlay) -> bool
forEachOverlayScreenBottomUp([oldWidth, oldHeight, newWidth, newHeight](const OverlayScreen& overlay) -> bool
{
overlay.psScreen->screenSizeDidChange(oldWidth, oldHeight, newWidth, newHeight);
return true; // keep enumerating
Expand Down

0 comments on commit 44037ae

Please sign in to comment.