0HyperCube and Keavon Chambers
8df59be1d5
Display graph errors in the viewport ( #1577 )
...
* Display graph errors in the viewport
* Polish up the styling
* Clear click targets while graph can't be rendered
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2024-01-15 06:18:08 +00:00
0HyperCube and Keavon Chambers
484acbcde3
New node: Morph ( #1576 )
...
* Add morph node
* Range slider time parameter, better lerping
* Lerp more fill and stroke parameters
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2024-01-13 23:35:40 -08:00
0HyperCube
768bbe820d
Preserve group IDs in the Spline from Points node ( #1574 )
2024-01-14 00:49:52 +00:00
0HyperCube
c777d4d430
Work around the weird treatment of the primary input ( #1575 )
...
* Work around the weird treatment of the primary input
* take2
2024-01-14 00:35:45 +00:00
0HyperCube
e242ce26a0
Fix circular repeat node without bounding box ( #1571 )
2024-01-14 00:23:13 +00:00
0HyperCube
e868bf9532
Fix path tool neighbours for normal snapping ( #1570 )
2024-01-13 16:08:34 -08:00
0HyperCube
47b3355950
Remove FillType::None for the fill node ( #1572 )
...
* Remove FillType::None for the fill node
* Fix demo art
2024-01-13 15:52:10 -08:00
0HyperCube
e0adf1040f
Fix graph UI not rerendering ( #1568 )
2024-01-13 16:25:08 +00:00
0HyperCube
1ac7b92b45
Fix inferred types memory leak ( #1566 )
2024-01-13 16:22:35 +00:00
0HyperCube
bf0ec2c9c8
Snapping improvements ( #1567 )
2024-01-13 08:10:24 -08:00
0HyperCube and Keavon Chambers
456ca170a4
Layer and grid snapping systems ( #1521 )
...
* Grid overlays
* Rectangle tool basic snapping
* Fix bezier demos
* Fix bézier crate tests
* Constrained snapping for circle & shape tool
* Line tool snapping
* Pen tool snapping
* Path tool snapping
* Snapping whilst dragging layers (not constrained)
* Constrained drag
* Resize snapping
* Normal and tangent
* Cleanup
* Grid snapping
* Grid snapping
* Fix imports
* Fix bug in artboard tool
* Fix hang on 0 size grid spacing
* Fix NaN when scaling
* Polishing
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2024-01-13 14:32:10 +00:00
0HyperCube
83116aa744
Fix selecting upsidedown layers ( #1560 )
2024-01-12 02:27:08 -08:00
0HyperCube and Keavon Chambers
6a10bcc3fc
Bezier-rs: add Tangents/Normals to Point functions ( #1547 )
...
* Add tangent/normal to point to bézier-rs
* Add license information and general cleanup
* Bump version
* Add iframe demos
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2024-01-07 06:33:06 -08:00
0HyperCube
c14c6fbe93
Fix text tool broken by #1543 ( #1555 )
...
Text tool setting font as f32
2024-01-07 13:45:32 +00:00
0HyperCube
7251d81a65
Fix path being closed when resampling ( #1542 )
2024-01-03 14:39:12 +00:00
0HyperCube
4c64df038f
Copy to Points node: add support for groups ( #1541 )
...
Copy to points by group
2024-01-03 04:21:10 -08:00
0HyperCube
202390e422
Apply transform before copy to points node ( #1540 )
2024-01-03 09:55:40 +00:00
0HyperCube and Keavon Chambers
947a131a4b
Add graph type error diagnostics to the UI ( #1535 )
...
* Fontend input types
* Fix index of errors / types
* Bug fixes, styling improvements, and code review
* Improvements to the error box
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-12-29 08:38:45 +00:00
0HyperCube and Keavon Chambers
4733134b22
Fix serialising document ( #1526 )
...
* Fix serialising document
* Remove unused import
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-12-20 22:58:04 +00:00
0HyperCube and Keavon Chambers
c42d030f18
New overlay system ( #1516 )
...
* Port gradient tool overlays
* Fix tests
* Text tool
* Artboard tool and some of select tool
* Port select tool drawing box
* Pen and path tool
* Remove overlays document
* Show the overlay refactor as done on the website roadmap
* Select tool bounds in layer space (first layer)
* Code review and fixes
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-12-18 11:17:43 +00:00
0HyperCube and Keavon Chambers
29222700f4
Fix the blend mode and opacity widgets of the Layers panel ( #1506 )
...
* Fix blend mode and opacity
* Cleanup and bug fixes
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-12-12 09:27:23 +00:00
0HyperCube
6bce72dccd
Fix document becoming unsaved (*) when clicking with Select tool ( #1509 )
...
Fix star on select tool
2023-12-11 22:14:20 +00:00
0HyperCube and Keavon Chambers
421e7c025f
Fix deleting all artboards without crashing ( #1502 )
...
* Fix delete all artboards
* Remove unused import causing warning
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-12-11 13:46:08 -08:00
0HyperCube
bfee09fe75
Fix nudge resizing to also work in document space ( #1504 )
...
Fix nudge resizing 2
2023-12-11 13:04:04 -08:00
0HyperCube
27960f3f9f
Fix nudging and nudge resizing ( #1501 )
2023-12-11 01:25:40 -08:00
0HyperCube and Keavon Chambers
af4c793f43
Serve the demo artwork in each build ( #1494 )
...
* Serve local demo artwork
* Disable restricted import lint
* Revert
* Switch approach to vite-multiple-assets plugin
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-12-11 01:06:00 -08:00
0HyperCube and Keavon Chambers
b60736c2c6
Fixes for removing artboards; white infinite canvas background ( #1497 )
...
* Fix crash when drawing on a deleted artboard
* Fix clear artboards button
* White background on no artboards
* Re-disable Clear Artboards since it still crashes
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-12-10 00:17:18 +00:00
0HyperCube
33845707db
Support for previewing the layer node ( #1496 )
2023-12-09 15:54:37 -08:00
0HyperCube
fe4b9ef8bb
Exporting ( #1495 )
2023-12-09 17:11:06 +00:00
0HyperCube and Keavon Chambers
99823e952a
Fix layers insert mark disappearing ( #1493 )
...
* Fix layers insert mark disappearing
* Move insertion line up 1px
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-12-09 13:34:15 +00:00
0HyperCube
10863acd83
Fix crash when reordering layers ( #1492 )
2023-12-09 13:08:46 +00:00
0HyperCube
f8b9c5db6d
Improve text transforms ( #1487 )
2023-12-04 14:57:44 -08:00
0HyperCube
1093aabc88
Fix graph UI links getting tangled when switching document tabs ( #1483 )
...
Fix corrupt graph UI
2023-12-03 10:19:09 +00:00
0HyperCube and Keavon Chambers
b2ca643e6e
Fix transforms, Brush tool, and G/R/S ( #1473 )
...
* Transform fixes
* Fix the desert artwork
* Change artboard icon
* Better handling when transforming brush strokes
* Code review pass
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-11-26 20:54:06 -08:00
0HyperCube and Keavon Chambers
5ee79031ab
Fix hiding and collapsing layers ( #1481 )
...
* Hide and collapse layers
* Reorder imports
* Fix Ctrl+H shortcut advertized action and hotkey tooltip; improve graph top right of options bar
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-11-27 02:27:11 +00:00
0HyperCube
94fcd295c5
Avoid unnecessary graph sends to the frontend ( #1476 )
2023-11-25 23:45:30 +00:00
0HyperCube and Keavon Chambers
ee95dac74e
Speed up graph view frontend by removing a querySelectorAll hot path ( #1475 )
...
* Reduce query selector all that was slowing perf
* Speed up double iteration of filter map with flatMap
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-11-25 23:25:58 +00:00
0HyperCube and Keavon Chambers
8a1cf3ad5d
Migrate demo artwork and fix all failing CI tests ( #1459 )
...
* Initial work on fixing tests
* Fix formatting
* Remove dead code to satisfy rustc warnings
* Insert into an artboard
* Load updated artwork in editor
* Remove popup when importing image
* Fix up demo art
* Change transform app[lication method
* Reduce number of enums called BlendMode
* Finalize the demo artwork upgrade
* Code review pass
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-11-19 23:06:21 -08:00
0HyperCube
8a816cd701
Fix crash on deleting all subpaths ( #1460 )
...
* Fix crash on deleting all subpaths
* Delete layer if no manipulators exist
2023-11-16 15:42:21 -08:00
0HyperCube and Keavon Chambers
58660f5548
Allow groups to work with the node graph ( #1452 )
...
* Initial groups
* Improve graph arangement
* Fix selecting nested layers
* Code review pass
* Change log
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-11-14 17:17:14 +00:00
0HyperCube and Keavon Chambers
e0ac073805
Improve previewing node data ( #1446 )
...
* Improve preview
* Improve contrast
* Restructure in order to duplicate code
* Code review nits
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-11-04 02:52:26 -07:00
0HyperCube and Keavon Chambers
380bc19b09
Remove explicit empty stack nodes ( #1445 )
...
* Remove explicit empty stack nodes
* Code review stylistic simplifications
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-10-28 20:41:31 -07:00
0HyperCube and Keavon Chambers
ceb2f4c13f
Add more details to Graphene concept documentation ( #1437 )
...
* Start improving node system docs
* Add note on debugging
* Explain testing protonodes
* Code review comments
* Review pass
* Further improve explanation of manual_compostion
* Fix explanation of ComposeNode graph rewriting
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-10-27 19:21:15 -07:00
0HyperCube
9b034a5194
Fix deleting layers ( #1441 )
...
* Fix deleting layers
* Code review comments
2023-10-25 15:20:55 -07:00
0HyperCube and Keavon Chambers
2feef62f23
Fix the Eyedropper tool ( #1440 )
...
* Fix eyedropper
* Remove dead code
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-10-25 17:18:15 +01:00
0HyperCube and Keavon Chambers
54745e210a
Fix the Path tool's smooth/sharp buttons ( #1439 )
...
* Fix select tool smooth button
* Nit
* Fix behavior when zero points are selected but the shape is active
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-10-25 09:26:24 +01:00
0HyperCube and Keavon Chambers
6ff958d6ae
Create node by dragging link into empty space ( #1438 )
...
* Create node by dragging into empty space
* Prevent add menu when disconnecting a link
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-10-24 13:22:41 -07:00
0HyperCube and Keavon Chambers
b8906f344e
Migrate the Text tool to the document graph ( #1435 )
...
* Update text tool to document graph
* Fix selection issue
* Log graph reruns and text node evals
* Hash to set node
* Fix let node crash
* Fix loading document with fonts
* Allow pressing enter to edit
* Cleanup
* Code review nits
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-10-24 12:55:13 -07:00
5827e989dc
Migrate the Select tool to the document graph ( #1433 )
...
* function for accessing document metadata
* Better select tool
* Fix render
* Fix transforms
* Fix loading saved documents
* Populate graph UI when loading autosave
* Multiple transform nodes
* Fix deep select
* Graph tooltips
* Fix flip axis icon
* Show disabled widgets
* Stop select tool from selecting artboards
* Disable (not hide) the pivot widget; remove Deep/Shallow select for now
* Code review changes
* Fix pivot position with select tool
* Fix incorrectly selected layers when shift clicking
---------
Co-authored-by: Dennis Kobert <dennis@kobert.dev >
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-10-17 11:09:32 -07:00
0HyperCube
579723ae3e
Fix deleting the Path node in "Just a Potted Cactus" demo art ( #1413 )
...
Fix cactus again
2023-09-02 14:54:23 -07:00
0HyperCube
fe8e1da8ed
Fix deleting the shape node ( #1411 )
2023-09-02 12:16:38 +01:00
0HyperCube and Keavon Chambers
e77782aadb
Remove console spam ( #1400 )
...
* Remove console spam
* CSS Style
* Slight cleanup
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-08-27 16:12:32 -07:00
0HyperCube
9d27bf49cf
Fix demo art shape node ( #1401 )
2023-08-26 18:43:27 +00:00
0HyperCube
237e97f033
Fix github CI branch name ( #1396 )
...
* Fix github CI branch name
* Check git branch
* New git command
* Use GITHUB_HEAD_REF if it exists
2023-08-23 15:17:32 +00:00
0HyperCube
b881385e3b
Update wasm-bindgen, syn and wgpu ( #1398 )
2023-08-23 14:53:56 +00:00
0HyperCube
09a509c8b5
Preserve exposed state on copy ( #1397 )
2023-08-23 13:31:51 +01:00
0HyperCube and Keavon Chambers
de27f2c006
Switch to the widget builder pattern on all remaining layouts ( #1346 )
...
* Prefer widget builder pattern
* Nits
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-07-31 23:21:42 -07:00
0HyperCube
2b9337406a
Fix artboard thumbnails ( #1342 )
...
* Fix artboard thumbnails
* Use GraphIdentifier instead of option
* Fix warnings introduced by artboard nodes
2023-07-30 19:37:37 +00:00
0HyperCube and Keavon Chambers
08f9be6aaf
Artboard nodes ( #1328 )
...
* Create artboard nodes
* Update node when resizing artboard
* Render clipped artboards
* More stable feature
* Do not render old artboards
* Fix some issues with transforms
* Fix crash when drawing rectangle
* Format
* Allow renaming document from Properties panel
* Adjust artboard label styling
* Fix document graph refresh so artboards show up
* Make "Clear Artboards" coming soon
* Fix displaying an infinite canvas
* Show document name in node graph options bar
* info!() to debug!()
* Fix Properties panel not being cleared when all docs closed
* Remove dead code
* Remove debug logs added in this branch
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-07-27 07:35:17 +01:00
0HyperCube
acb46bc1d3
Fix missing popover text ( #1329 )
2023-07-19 22:04:48 +01:00
0HyperCube
80cc5bee73
Fix clippy lints ( #1327 )
...
* Fix clippy lints
* Update formatting
* Remove unsafe send impls
* New type for Rc<NodeContainer>
2023-07-19 16:38:23 +01:00
0HyperCube
a1c70c4d90
Update node guide ( #1305 )
2023-06-08 18:19:10 +01:00
0HyperCube and Keavon Chambers
abd8e7fab6
Fix Pen tool race condition when drawing handles fast, and stuck overlays ( #1283 )
...
* Fix pen tool with async
* Fix overlays staying too long
* Perhaps fix the transform issue
* Fix compile error
* Formatting
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-06-04 04:51:07 +01:00
0HyperCube
4d1c5fc8bf
Minimum viewport scale cover when zooming ( #1282 )
...
* Minimum viewport scale cover
* Update const name
2023-06-03 21:35:19 +01:00
0HyperCube
0c7b55949d
Fix some node connection UI issues ( #1248 )
2023-05-26 18:02:05 +01:00
0HyperCube and Keavon Chambers
15eb4df8d4
Add the document graph ( #1217 )
...
* Thumbnails for the layer node
* Raster node graph frames
* Downscale to a random resolution
* Cleanup and bug fixes
* Generate paths before duplicating outputs
* Fix stable id test
* Add a document node graph
* Fix merge conflict
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-05-26 17:22:58 +01:00
0HyperCube and Keavon Chambers
6400953af5
Thumbnails for the layer node ( #1210 )
...
* Thumbnails for the layer node
* Raster node graph frames
* Downscale to a random resolution
* Cleanup and bug fixes
* Generate paths before duplicating outputs
* Fix stable id test
* Code review changes
* Code review pass with minor changes
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-05-18 05:12:50 +01:00
0HyperCube and Keavon Chambers
4e0c673a35
Add Layer and Artboard node definitions and underlying data structures ( #1204 )
...
* Add basic node defenitions
* Code review
* change widget code
* Artboard node changes
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-05-09 21:57:22 +01:00
0HyperCube and Keavon Chambers
ab2de96640
Fix brush layers growing hugely when resizing transforms with Select tool ( #1201 )
...
* Fix brush tool resize
* Fix typo
* Fix image transforms
* Remove input from image network
* Fix merge error
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-05-07 12:17:12 +01:00
0HyperCube
d7c5658852
Imaginate fixes ( #1200 )
2023-05-07 11:23:16 +01:00
0HyperCube and Keavon Chambers
ef93f8442a
Migrate text layers to nodes ( #1155 )
...
* Initial work towards text to node
* Add the text generate node
* Implement live edit
* Fix merge error
* Cleanup text tool
* Implement text
* Fix transforms
* Fix broken image frame
* Double click to edit text
* Fix rendering text on load
* Moving whilst editing
* Better text properties
* Prevent changing vector when there is a Text node
* Push node api
* Use node fn macro
* Stable ids
* Image module as a seperate file
* Explain check for "Input Frame" node
* Code review
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-04-27 03:07:43 +01:00
0HyperCube
0e97f352e9
Serialize images as base64 by rounding channels from floats to u8 ( #1120 )
...
Serialise images as base64
2023-04-13 20:03:25 +01:00
ed6140b4a7
Brush tool live preview ( #1116 )
...
* Disable vector preview for brush tool
* Fix brush preview
* Fix warping
* Left and right square brackets to change size
* Add linear interpolation
* Modfiy existing selected brush layer
* Resolve warnings
---------
Co-authored-by: Dennis Kobert <dennis@kobert.dev >
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-04-12 18:50:42 +01:00
0HyperCube
758f757775
Fix the properties when loading a saved document ( #1111 )
2023-04-11 08:31:03 +01:00
0HyperCube and Keavon Chambers
a58d51d685
Add cache clearing to stop the memory leak ( #1106 )
...
* Add cache clearing
* Add TODO comment
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-04-09 23:30:57 +01:00
0HyperCube and Keavon Chambers
d710285029
Fix regressions introduced in the vector nodes migration ( #1100 )
...
* Fix double click to enter path tool
* Fix error
* Fix transform bug
* Fix squaring scale on images
* Shift node position and refresh graph
* Downscale node seperate
* Fix mirror
* Remove duplicate transform
* Always show node graph
* Correctly set freehand and spline tool positions
* Run cargo format
* Maybe fix the scale
* Downscaled image is always smaller than origional
* Fix one crash
* Don't show node graph on welcome screen
* Reduce default graph panel height
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-03-31 21:15:49 +01:00
0HyperCube and Keavon Chambers
959e790cdf
Migrate vector data and tools to use nodes ( #1065 )
...
* Add rendering to vector nodes
* Add line, shape, rectange and freehand tool
* Fix transforms, strokes and fills
* Migrate spline tool
* Remove blank lines
* Fix test
* Fix fill in properties
* Select layers when filling
* Properties panel transform around pivot
* Fix select tool outlines
* Select tool modifies node graph pivot
* Add the pivot assist to the properties
* Improve setting non existant fill UX
* Cleanup hash function
* Path and pen tools
* Bug fixes
* Disable boolean ops
* Fix default handle smoothing on ellipses
* Fix test and warnings
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-03-26 08:03:51 +01:00
0HyperCube
9c10d18308
Imaginate node fixes ( #1084 )
2023-03-18 20:34:42 +00:00
0HyperCube
fb6ca73808
Make image downscaling have a configurable factor ( #1044 )
...
Remove downscaling
2023-03-12 06:42:44 +00:00
0HyperCube and Keavon Chambers
c32010071e
Move G/R/S to tools folder ( #1076 )
...
* Move G/R/S to tools folder
* Fix bad cache
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-03-10 23:06:31 +00:00
0HyperCube and Keavon Chambers
a2046a51b1
Add basic vector nodes ( #1059 )
...
* Add some derives
* Allow node_fn with mutable inputs
* Add basic vector nodes
* Revert elipse tool changes
* Fix the elipse tool again
* Change spacer width
* Bubble serde feature in graph craft
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-03-02 21:54:23 +00:00
0HyperCube
7e37fb41a4
Fix crash when using Imaginate tool ( #1064 )
...
Fix crash when using imaginate tool
2023-03-02 21:14:12 +00:00
0HyperCube
66ec85a3c9
Bézier-rs: Add utils to subpath ( #1058 )
...
* Add utils to bezier-rs subpath
* Apply code review changes
* Remove tan from constant
* Fix compile
* Fix tests
2023-03-02 16:48:09 +00:00
0HyperCube
4495488546
Refactor vector data type from document-legacy into node graph ( #1057 )
...
Add vector data type
2023-02-25 16:55:05 +00:00
0HyperCube
08b2782917
Bézier-rs: Add ids to manipulator groups ( #1054 )
...
* Add ids to manipulator groups
* Fix tests
* Rename trait from ManipulatorGroupId to Identifier
* Rename EmptyManipulatorGroupId to EmptyId
2023-02-25 16:23:58 +00:00
0HyperCube and Keavon Chambers
6caed9e761
Fix default value for the Output node ( #1042 )
...
* Fix default value for output node
* Don't set frame transform to zero
* Fix typo in hash function
* Clear frame on empty image
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-02-20 07:32:49 +00:00
1b0e1b9bdf
Update Imaginate to output bitmap data to the graph via Image Frame node ( #1001 )
...
* Multiple node outputs
* Add new nodes
* gcore use std by default to allow for testing
* Allow multiple node outputs
* Multiple outputs to frontend
* Add ImageFrameNode to node registry
* Minor cleanup
* Basic transform implementation
* Add some logging to image encoding
* Fix ImageFrameNode
* Add transform input to Imaginate node (#1014 )
* Add transform input to imaginate node
* Force the resolution to be edited with no transform
* Add transform to imaginate generation
* Fix compilation
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
* Add labels to node outputs
* Fix seed; disable mask when transform is disconnected; add Imaginate tooltips
* Rename 'Input Multiple' node to 'Input'
* Code review
* Replicate to Svelte
* Show only the primary input chain in the Properties panel
---------
Co-authored-by: Dennis Kobert <dennis@kobert.dev >
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-02-11 08:56:31 +00:00
0HyperCube and Keavon Chambers
0a03aec343
Reduce tool code duplication and boilerplate ( #993 )
...
* Reduce tool code duplication
* Add doc comments
* Fix Mac key variant, which can't be auto-converted without false positives
* Rename "key" to "keys"
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-01-28 08:38:52 +00:00
0HyperCube and Keavon Chambers
898b0bb582
Cull snapping of points outside viewport ( #961 )
...
Do not snap to points outside viewport
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-01-27 20:28:12 +00:00
0HyperCube and Keavon Chambers
64e62699fc
Replace the image layer type with an Image node ( #948 )
...
* Use builder pattern for widgets
* Arguments to new function
* Add node graph when dragging in image
* Fix duplicate import
* Skip processing under node graph frame if unused
* Reduce node graph rerenders
* DUPLICATE ALL frontend changes into other frontend
* DUPLICATE more changes to another frontend
* Code review
* Allow importing SVG files as bitmaps
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-01-27 10:01:09 +00:00
0HyperCube and Keavon Chambers
5cbe3f7573
Artboard history ( #976 )
...
* Convert DocumentSave to struct
* Comit the artboard history save in some cases
* Cause index out of bounds error
* Use box to avoid weird wasm error
* Implement the artboard history
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-01-22 19:51:08 +00:00
0HyperCube and Keavon Chambers
cd58dcd3dd
Pen tool redraw overlays on selection change ( #960 )
...
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-01-12 21:55:08 +00:00
0HyperCube and Keavon Chambers
741e61a59d
Hide handle overlays too close to the parent anchor ( #951 )
...
Hide handle overlay
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-01-09 03:32:26 +00:00
0HyperCube
2a27471363
Fix boolean crash with self intersecting shape ( #952 )
2023-01-09 02:25:06 +00:00
0HyperCube
de407f8b23
Use builder pattern for widgets ( #941 )
...
* Use builder pattern for widgets
* Arguments to new function
2023-01-08 14:34:24 +00:00
0HyperCube
cd8a897b96
Don't show the blue outline when bloburl is set ( #937 )
2023-01-03 10:05:46 +00:00
0HyperCube
7cc1a192cb
Fix viewport culling with nested layers ( #939 )
...
* Fix viewport culling with nested layers
* Clean up naming
2023-01-02 15:27:11 +00:00
0HyperCube
df44e8d978
Fix dragging nodes ( #936 )
2023-01-02 14:38:43 +00:00
0HyperCube and Keavon Chambers
2bcc3d3baf
Improve history states ( #932 )
...
* Add some more history states
* Fix undo whilst drawing
* Paste image history
* Toggle output and preview history
* Code review nits
* Remove extra '{'
* Fix typo
* Fix about.toml
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-01-01 22:02:44 +00:00
0HyperCube and Keavon Chambers
6e142627a3
Fix a derivative causing NaNs in boolean ops ( #934 )
...
* Fix a derivative causing NaNs
* Better error messages around boolean ops
* Tweak error dialog wording
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2023-01-01 08:54:10 +00:00