Skip to content

Commit

Permalink
fix: dont change close button clip
Browse files Browse the repository at this point in the history
  • Loading branch information
Feichtmeier committed Dec 7, 2023
1 parent 3e16179 commit dacec84
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions lib/src/widgets/yaru_title_bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -300,15 +300,7 @@ class YaruTitleBar extends StatelessWidget implements PreferredSizeWidget {
? () => onMaximize!(context)
: null,
),
if (isClosable == true)
isMaximizable == true
? closeButton
: ClipRRect(
borderRadius: const BorderRadius.only(
topRight: Radius.circular(6),
),
child: closeButton,
),
if (isClosable == true) closeButton,
].withSpacing(bSpacing),
),
),
Expand Down

0 comments on commit dacec84

Please sign in to comment.