🐛 Optimized desktop titlebar styling

This commit is contained in:
LittleSheep 2024-12-07 22:34:02 +08:00
parent c55db308a1
commit 2cbb7fb29e

View File

@ -105,7 +105,14 @@ class AppRootScaffold extends StatelessWidget {
if (!kIsWeb &&
(Platform.isWindows || Platform.isLinux || Platform.isMacOS))
Container(
color: Theme.of(context).colorScheme.surface,
decoration: BoxDecoration(
border: Border(
bottom: BorderSide(
color: Theme.of(context).dividerColor,
width: 1 / devicePixelRatio,
),
),
),
child: WindowTitleBarBox(child: MoveWindow()),
),
ConnectionIndicator(),