Skip to content

Commit

Permalink
Remove DragToMoveArea parent of WindowButtons (#313)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdlukaa authored Apr 30, 2022
2 parents dc8ce32 + 62423ab commit 9ba6b81
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,9 @@ class _MyHomePageState extends State<MyHomePage> with WindowListener {
}(),
actions: kIsWeb
? null
: DragToMoveArea(
child: Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: const [Spacer(), WindowButtons()],
),
: Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: const [Spacer(), WindowButtons()],
),
),
pane: NavigationPane(
Expand Down

0 comments on commit 9ba6b81

Please sign in to comment.