Skip to content

Commit 2a3a587

Browse files
committed
Fix: Fps text overflow with > 2 digits
1 parent 1760331 commit 2a3a587

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/pages/play.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ class _PlayPageState extends State<PlayPage> {
149149
backgroundColor: Colors.transparent,
150150
elevation: 0,
151151
systemOverlayStyle: SystemUiOverlayStyle.light,
152-
leadingWidth: Prefs.showFpsCounter.value ? 136 : 80,
152+
leadingWidth: 80 + (Prefs.showFpsCounter.value ? (16 + 24 * 3) : 0),
153153
leading: Row(
154154
mainAxisSize: MainAxisSize.min,
155155
children: [

0 commit comments

Comments
 (0)