Layout: review r1 fixes
This commit is contained in:
22 files changed
+381
-99
No files matched your search
+1
-2
@@ -33,8 +33,7 @@ type AppShellResult struct {
|
||||
Toggled bool
|
||||
}
|
||||
|
||||
// AppShell lays out a window: title bar, sidebar, content and status bar.
|
||||
// *collapsed folds the sidebar to a rail; its toggle button and Cmd/Ctrl+B flip it.
|
||||
// AppShell lays out title bar, sidebar, content and status bar; *collapsed folds the sidebar.
|
||||
func AppShell(c *ui.Context, collapsed *bool, opts AppShellOptions) AppShellResult {
|
||||
if collapsed == nil {
|
||||
panic("mujica: AppShell needs a collapsed state")
|
||||
|
||||
Reference in new issue
Block a user