From b43f199428d09844e06288aa0291c0675794ec58 Mon Sep 17 00:00:00 2001 From: XMLHexagram Date: Wed, 4 Dec 2024 01:47:49 +0100 Subject: [PATCH] fix(macOS): Add 2px to album offset for visual alignment --- lib/screens/query_tracks/query_tracks.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/screens/query_tracks/query_tracks.dart b/lib/screens/query_tracks/query_tracks.dart index 221c24ff1..7ade873bb 100644 --- a/lib/screens/query_tracks/query_tracks.dart +++ b/lib/screens/query_tracks/query_tracks.dart @@ -48,7 +48,9 @@ class _QueryTracksPageState extends State { if (!isMini) Padding( padding: Platform.isMacOS - ? const EdgeInsets.fromLTRB(24, 54, 24, 12) + // The left offset on macOS should be the same as the naviagtion_bar's parent title left offset + // But due to font and typography reasons(#166), we need to add 2px to visually align them. + ? const EdgeInsets.fromLTRB(26, 54, 24, 12) : const EdgeInsets.fromLTRB(20, 54, 24, 12), child: Transform.scale( scale: 1.2,