refactor(desktop): reorganize workspace panels and navigation
Gitea CI / Windows x64 and Android (pull_request) Successful in 16m21s
Gitea CI / Gitea CI passed (pull_request) Successful in 3s

This commit is contained in:
lingjhf committed 2026-10-06 12:11:59 +08:00
1 parent 826745b407
commit 1f73765745
92 files changed
+5811 -2650

No files matched your search

@@ -76,7 +76,7 @@ class _EditorWindowChromeState extends State<EditorWindowChrome> {
constraints.maxWidth - WindowCaptionControls.width,
0,
WindowCaptionControls.width,
widget.headerHeight,
WindowCaptionControls.buttonHeight,
),
child: Stack(
fit: StackFit.expand,
@@ -86,10 +86,10 @@ class _EditorWindowChromeState extends State<EditorWindowChrome> {
top: 0,
right: 0,
width: WindowCaptionControls.width,
height: widget.headerHeight,
height: WindowCaptionControls.buttonHeight,
child: WindowCaptionControls(
session: _session,
height: widget.headerHeight,
height: WindowCaptionControls.buttonHeight,
),
),
],
@@ -14,6 +14,7 @@ class WindowCaptionControls extends StatelessWidget {
required this.height,
});
static const buttonWidth = 46.0;
static const buttonHeight = 38.0;
static const width = buttonWidth * 3;
final WindowChromeSession session;
final double height;
@@ -22,7 +23,7 @@ class WindowCaptionControls extends StatelessWidget {
Widget build(BuildContext context) => ListenableBuilder(
listenable: session,
builder: (context, _) => Material(
color: Theme.of(context).colorScheme.surface,
type: MaterialType.transparency,
child: Row(
children: [
_button(