mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-07 21:48:14 -08:00
fix(Desktop): Input no longer passed through titlebar (#179)
Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
parent
c6080824d7
commit
da0eb9e7c6
1 changed files with 17 additions and 14 deletions
|
|
@ -46,22 +46,25 @@ class _DefaultTitleBarState extends ConsumerState<DefaultTitleBar> with WindowLi
|
||||||
TargetPlatform.windows || TargetPlatform.linux => Row(
|
TargetPlatform.windows || TargetPlatform.linux => Row(
|
||||||
children: [
|
children: [
|
||||||
Expanded(
|
Expanded(
|
||||||
child: DragToMoveArea(
|
child: Container(
|
||||||
child: Row(
|
color: Colors.black.withOpacity(0),
|
||||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
child: DragToMoveArea(
|
||||||
mainAxisSize: MainAxisSize.max,
|
child: Row(
|
||||||
children: [
|
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||||
Container(
|
mainAxisSize: MainAxisSize.max,
|
||||||
padding: const EdgeInsets.only(left: 16),
|
children: [
|
||||||
child: DefaultTextStyle(
|
Container(
|
||||||
style: TextStyle(
|
padding: const EdgeInsets.only(left: 16),
|
||||||
color: iconColor,
|
child: DefaultTextStyle(
|
||||||
fontSize: 14,
|
style: TextStyle(
|
||||||
|
color: iconColor,
|
||||||
|
fontSize: 14,
|
||||||
|
),
|
||||||
|
child: Text(widget.label ?? ""),
|
||||||
),
|
),
|
||||||
child: Text(widget.label ?? ""),
|
|
||||||
),
|
),
|
||||||
),
|
],
|
||||||
],
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue