Skip to content

Commit

Permalink
overlay manager: revalidate overlays on profile change
Browse files Browse the repository at this point in the history
WidgetOverlays need to be revalidated so the moved widget can be moved back to its original position.

Signed-off-by: Ron Young <[email protected]>
  • Loading branch information
raiyni committed Jan 10, 2024
1 parent a4f305d commit f443e69
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,11 @@ public void onProfileChanged(ProfileChanged event)
{
synchronized (this)
{
overlays.forEach(this::loadOverlay);
overlays.forEach((o) ->
{
loadOverlay(o);
o.revalidate();
});
}
rebuildOverlayLayers();
}
Expand Down

0 comments on commit f443e69

Please sign in to comment.