feat(workspace): refresh desktop editing experience and prepare 0.1.2
Gitea CI / Build Android APK (pull_request) Canceled after 0s
Gitea CI / Build Windows x64 app (pull_request) Canceled after 0s
Gitea CI / Audit and package Windows x64 (pull_request) Canceled after 0s
Gitea CI / Assemble and validate CI artifacts (pull_request) Canceled after 0s
Gitea CI / Gitea CI passed (pull_request) Canceled after 0s
Gitea CI / Check code and tests (pull_request) Canceled after 6m29s
Gitea CI / Build Android APK (pull_request) Canceled after 0s
Gitea CI / Build Windows x64 app (pull_request) Canceled after 0s
Gitea CI / Audit and package Windows x64 (pull_request) Canceled after 0s
Gitea CI / Assemble and validate CI artifacts (pull_request) Canceled after 0s
Gitea CI / Gitea CI passed (pull_request) Canceled after 0s
Gitea CI / Check code and tests (pull_request) Canceled after 6m29s
This commit is contained in:
1 parent
aa5255d1e4
commit
2e0033ce2d
260 files changed
+43963
-5591
No files matched your search
@@ -9,12 +9,14 @@ class WorkspaceResizeHandle extends StatefulWidget {
|
||||
required this.initialValue,
|
||||
required this.onResize,
|
||||
this.direction = 1,
|
||||
this.onStart,
|
||||
this.onEnd,
|
||||
});
|
||||
|
||||
final Axis axis;
|
||||
final double initialValue;
|
||||
final double direction;
|
||||
final VoidCallback? onStart;
|
||||
final ValueChanged<double> onResize;
|
||||
final VoidCallback? onEnd;
|
||||
|
||||
@@ -37,6 +39,7 @@ class _WorkspaceResizeHandleState extends State<WorkspaceResizeHandle> {
|
||||
void _start(DragStartDetails details) {
|
||||
_startPosition = _coordinate(details.globalPosition);
|
||||
_startValue = widget.initialValue;
|
||||
widget.onStart?.call();
|
||||
_releaseCursor();
|
||||
final cursor = _cursor;
|
||||
_cursorOverlay = OverlayEntry(
|
||||
|
||||
Reference in new issue
Block a user