Skip to content

Commit

Permalink
Merge pull request #1022 from Komodo5197/redesign-cache-fix
Browse files Browse the repository at this point in the history
[Redesign] Cache paint sizing fix
  • Loading branch information
Chaphasilor committed Jan 16, 2025
2 parents 7dfd89f + 993166f commit 1a7d330
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/screens/blurred_player_screen_background.dart
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,14 @@ class RenderCachePaint extends RenderProxyBox {

static final Map<int, (List<RenderCachePaint>, ui.Image?)> _cache = {};

@override
void performLayout() {
child?.layout(BoxConstraints.tightFor(
width: _screenSize.width, height: _screenSize.height));
size = constraints.biggest;
return;
}

@override
bool get isRepaintBoundary => true;

Expand Down

0 comments on commit 1a7d330

Please sign in to comment.