-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix sidebar container initialization when "clean" theme is used
When the "clean" theme is used, the sidebar's toggle button is not created and constructing the `DragHandler` failed because it was passed a `null` target. Update the types in `ToolbarController.sidebarToggleButton` to reflect that the value can be null and handle this in `Sidebar` by not initializing `_dragResizeHandler` in this case.
- Loading branch information
1 parent
39cf23d
commit e15e597
Showing
3 changed files
with
30 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters