fix: ok tuslari HardwareKeyboard, topbar 16px, border kaldirildi
Build Windows / build-windows (push) Has been cancelled

This commit is contained in:
Alhan committed 2026-07-22 05:24:25 +03:00
1 parent 35ac949f4e
commit 5be314e857
5 files changed
+23 -15

No files matched your search

+5 -14
View File
@@ -12,7 +12,7 @@ class CustomTitleBar extends StatelessWidget {
right: 0,
child: DragToMoveArea(
child: SizedBox(
height: 28,
height: 16,
child: Stack(
children: [
Positioned(
@@ -63,22 +63,13 @@ class _BarButtonState extends State<_BarButton> {
onEnter: (_) => setState(() => _hovered = true),
onExit: (_) => setState(() => _hovered = false),
child: Container(
width: 36,
height: 28,
decoration: BoxDecoration(
border: Border.all(
color: Colors.black54,
width: 1,
),
color: _hovered ? Colors.red.withValues(alpha: 0.7) : Colors.transparent,
borderRadius: const BorderRadius.only(
topRight: Radius.circular(4),
),
),
width: 24,
height: 16,
color: _hovered ? Colors.red.withValues(alpha: 0.8) : Colors.transparent,
child: Icon(
widget.icon,
color: Colors.white,
size: 14,
size: 12,
),
),
),