Skip to content

Commit

Permalink
Windows 11 边框 Bug 处理;
Browse files Browse the repository at this point in the history
  • Loading branch information
lyming99 committed Feb 28, 2024
1 parent 9686865 commit cb28be0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/widgets/window_border_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@ class _WindowBorderWidgetsState extends State<WindowBorderWidget>

@override
Widget build(BuildContext context) {
if (isFullScreen || !isCustomWindowBorder()) {
if (!isCustomWindowBorder()) {
return widget.child;
}
if (isFullScreen) {
return DragToResizeArea(
resizeEdgeSize: 2,
child: widget.child,
Expand Down

0 comments on commit cb28be0

Please sign in to comment.