fix(Desktop): Input no longer passed through titlebar (#179)

Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
PartyDonut 2024-12-12 23:37:57 +01:00 committed by GitHub
parent c6080824d7
commit da0eb9e7c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -46,6 +46,8 @@ class _DefaultTitleBarState extends ConsumerState<DefaultTitleBar> with WindowLi
TargetPlatform.windows || TargetPlatform.linux => Row(
children: [
Expanded(
child: Container(
color: Colors.black.withOpacity(0),
child: DragToMoveArea(
child: Row(
crossAxisAlignment: CrossAxisAlignment.stretch,
@ -65,6 +67,7 @@ class _DefaultTitleBarState extends ConsumerState<DefaultTitleBar> with WindowLi
),
),
),
),
Row(
children: [
FutureBuilder(