mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-25 16:38:11 +08:00
Add support for resizing workspace panels (#443)
* Resize panels * Removing move_selection test pending #444 resolved * Bind event listners and cursor to the document * Fix flex grow on document being reset when drawing * Call onresize when the boundry is dragged * Add min panel size * Add explicit function return types * Dispatch resize event * Lock pointer instead of setting cursor on document Co-authored-by: otdavies <oliver@psyfer.io> Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
committed by
Keavon Chambers
co-authored by
otdavies
Keavon Chambers
parent
effc8354d1
commit
9afb9935c2
@@ -241,7 +241,7 @@ declare module "@vue/runtime-core" {
|
||||
editor: EditorState;
|
||||
// This must be set to optional because there is a time in the lifecycle of the component where inputManager is undefined.
|
||||
// That's because we initialize inputManager in `mounted()` rather than `data()` since the div hasn't been created yet.
|
||||
inputManger?: InputManager;
|
||||
inputManager?: InputManager;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user