Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [2.0.0-beta.4]
🛠️ Fixed 🛠️
* `ToolBar`s in use where a `SideBar` is not present will now have their title's avoid the traffic lights (native window controls).

## [2.0.0-beta.3]
✨ New ✨
* Added support for `weekdayAbbreviations` and `monthAbbreviations` to `MacosDatePicker`.
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ packages:
path: ".."
relative: true
source: path
version: "2.0.0-beta.3"
version: "2.0.0-beta.4"
macos_window_utils:
dependency: transitive
description:
Expand Down
6 changes: 4 additions & 2 deletions lib/src/layout/window.dart
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,10 @@ class _MacosWindowState extends State<MacosWindow> {
final height = constraints.maxHeight;
final isAtBreakpoint = width <= (sidebar?.windowBreakpoint ?? 0);
final isAtEndBreakpoint = width <= (endSidebar?.windowBreakpoint ?? 0);
final canShowSidebar = _showSidebar && !isAtBreakpoint;
final canShowEndSidebar = _showEndSidebar && !isAtEndBreakpoint;
final canShowSidebar =
_showSidebar && !isAtBreakpoint && sidebar != null;
final canShowEndSidebar =
_showEndSidebar && !isAtEndBreakpoint && endSidebar != null;
final visibleSidebarWidth = canShowSidebar ? _sidebarWidth : 0.0;
final visibleEndSidebarWidth =
canShowEndSidebar ? _endSidebarWidth : 0.0;
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: macos_ui
description: Flutter widgets and themes implementing the current macOS design language.
version: 2.0.0-beta.3
version: 2.0.0-beta.4
homepage: "https://macosui.dev"
repository: "https://github.com/GroovinChip/macos_ui"

Expand Down