James Lindsay
33df58eda9
Fix compilation on nightly ( #2001 )
...
Fix nightly compile
2024-09-21 13:48:33 -07:00
James Lindsay
2febbfd698
Fix Graphene CLI crash ( #1993 )
...
Don't crash on the cli
2024-09-20 23:58:13 +00:00
James Lindsay and Keavon Chambers
0d33a1ae3f
Use overlays to draw artboard names ( #1981 )
...
* Artboard label overlay
* Finish artboard overlays
* cargo fmt
* Update font styling
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2024-09-20 22:04:31 +00:00
James Lindsay
ef007736f5
Fix types of inputs to nodes with a nested network implementation ( #1978 )
...
Fix types into nested networks
2024-09-15 22:49:43 +00:00
James Lindsay and Keavon Chambers
dd4a97b09f
Correctly apply transforms to vector data and strokes ( #1977 )
...
* Fix adding a layer to a transformed group
* Fix assorted transform issues
* Default stroke transform
* Fix bench
* Transform gradient
* Gradient fix
* Add gradient reversal buttons to Fill node in the Properties panel
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2024-09-15 22:26:11 +00:00
James Lindsay
2fa8773092
Improve select tool click targets ( #1976 )
...
* Improve select tool click targets
* Improve spellings
2024-09-15 00:02:48 +00:00
James Lindsay and Keavon Chambers
6c8a4fe5b3
Nudge only the shallowest selected layers to avoid amplified translation ( #1975 )
...
* Nudge only the shallowest selected layers
* Remove (inadvertent?) settings.json change
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2024-09-14 23:39:20 +00:00
James Lindsay
514582fd8d
Make the node graph use a document node's default type ( #1965 )
...
* Use document node default type
* Refactor getting input
* Clippy
* Fix missing continue
* Fix CI
2024-09-13 01:42:26 -07:00
James Lindsay
06e11b6f46
Fix invalid segment crash when disolving point loop ( #1959 )
...
* Fix invalid segment crash
* Further improve robustness
2024-09-05 11:45:14 -07:00
James Lindsay
bf5019db7b
Bezier-rs: Fix crash when outlining a small bézier ( #1958 )
...
Fix crash when outlining small bézier
2024-09-05 10:48:12 -07:00
James Lindsay and Keavon Chambers
9524835a30
Switch attribute-based vector data from referencing PointIds to indexes in the points table ( #1949 )
...
* Index for points
* Code review
* Add todo comment about a possible perf optimization
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2024-09-04 08:59:55 +00:00
James Lindsay
444929adbf
Fix crash from gradients with bounds of zero ( #1950 )
...
Fix zero bound gradient
2024-09-01 16:12:02 -07:00
James Lindsay and Keavon Chambers
1f278799d6
Add quick measure overlays with Alt pressed ( #1894 )
...
* Measure with alt
* Code review
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2024-08-10 04:56:02 -07:00
James Lindsay and Keavon Chambers
cdd179cf10
Add snapping targets for b-box edges and multi-layer spacing distribution ( #1793 )
...
* Initial work on aligning bounding boxes
* Work in progress distribution
* Distribution snapping
* Distribution overlays
* Align points and clean up
* Code review
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2024-08-04 22:12:20 -07:00
James Lindsay
ea44d1440a
Use a coarse bounding box to avoid a detailed check for intersection when clicking artwork ( #1887 )
...
* Add bounding box check for intersection
* Cache the bounding box
* private subpath
2024-08-03 15:10:04 +01:00
James Lindsay and Keavon Chambers
32f5fba3e3
Blog post: Graphite progress report (Q2 2024) ( #1805 )
...
* Q2 blogpost
* WIP
* WIP 2
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2024-08-02 06:14:29 -07:00
James Lindsay and Keavon Chambers
fa1535d0bb
Update dependencies and lock files ( #1841 )
...
* Bump lock files
* Fix glam mismatch version
* Add tokio feature
* Update all deps
* Fix gpu-compiler not able to reference the root workspace
* Bump a few more deps
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2024-07-22 02:56:29 -07:00
James Lindsay and Keavon Chambers
59a943f42f
Simplify build process by auto-installing npm packages and simplify the contributor guide ( #1799 )
...
* Clarify some of the contributing building instructions
* Bump wasm-bindgen version
* Simplify build process and improve docs
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2024-07-14 20:16:02 -07:00
James Lindsay
203be63374
Insert transform node on groups ( #1829 )
...
Insert transform on group
2024-07-13 21:48:56 -07:00
James Lindsay
0c2e3361ab
Remove artboard from graphic element ( #1824 )
...
* Remove artboard from graphic element
* Fix transform bug
2024-07-13 21:10:29 -07:00
James Lindsay
027d3f4e60
Apply the graphic group transform in the boolean node ( #1825 )
2024-07-13 19:49:40 -07:00
James Lindsay and Keavon Chambers
dba0433100
Fix snapping bug where snapped-together shapes couldn't be moved ( #1818 )
...
* Fixup dragging snap
* Reenable snapping by default on some demo art files
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2024-07-12 15:04:14 -07:00
James Lindsay
97616e8019
Fix Pen and Freehand tool path extension ( #1809 )
...
Improve path tool extend
2024-07-07 17:23:44 -07:00
James Lindsay
7a82a75d2c
Fix multi-subpath boolean operations ( #1804 )
...
Fix multi subpath boolean operations
2024-07-06 01:26:00 -07:00
1652c713a6
Add nondestructive vector editing ( #1676 )
...
* Initial vector modify node
* Initial extraction of data from monitor nodes
* Migrate to point id
* Start converting to modify node
* Non destructive spline tool (tout le reste est cassé)
* Fix unconnected modify node
* Fix freehand tool
* Pen tool
* Migrate demo art
* Select points
* Fix the demo artwork
* Fix the X and Y inputs for path tool
* G1 continous toggle
* Delete points
* Fix test
* Insert point
* Improve robustness of handles
* Fix GRS shortcuts on path
* Dragging points
* Fix build
* Preserve opposing handle lengths
* Update demo art and snapping
* Fix polygon tool
* Double click end anchor
* Improve dragging
* Fix text shifting
* Select only connected verts
* Colinear alt
* Cleanup
* Fix imports
* Improve pen tool avoiding handle placement
* Improve disolve
* Remove pivot widget from Transform node properties
* Fix demo art
* Fix bugs
* Re-save demo artwork
* Code review
* Serialize hashmap as tuple vec to enable deserialize_inputs
* Fix migrate
* Add document upgrade function to editor_api.rs
* Finalize document upgrading
* Rename to the Path node
* Remove smoothing from Freehand tool
* Upgrade demo artwork
* Propertly disable raw-rs tests
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
Co-authored-by: Adam <adamgerhant@gmail.com >
Co-authored-by: Dennis Kobert <dennis@kobert.dev >
2024-07-05 13:42:40 -07:00
0HyperCube
68a6065f2b
Arrange layers in top level ( #1786 )
2024-06-17 11:56:31 +01:00
0HyperCube
61292500e6
Fix tool drawing start point offset when an artboard has a transform ( #1763 )
...
* Fix offset artboard
* Multiply in transform sometimes
2024-05-28 01:09:48 -07:00
0HyperCube
c80de41d28
Always update source node in borrow tree ( #1758 )
2024-05-25 21:35:53 -07:00
0HyperCube
af6dae29fc
Fix off by one subpath and unrelated crash ( #1754 )
...
* Fix off by one in subpath code
* Fix crash with selected handles and anchor
* Sort the correct way I have no idea why the origional code was so overly verbose but it has caused significant confusion and wasted effort
2024-05-20 14:44:24 -07:00
0HyperCube and Keavon Chambers
0c50d91516
Blog post: Graphite progress report (Q1 2024) ( #1700 )
...
* Draft for quarterly update blog post
* Complete post
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2024-05-09 15:33:19 -07:00
0HyperCube and Keavon Chambers
218e9675fd
Attribute-based vector format refactor ( #1624 )
...
* Initial vector format structure
* Click targets
* Code review pass
* Remove subpaths from vector data
* Morph node & vector node tests
* Insignificant change
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2024-03-09 10:27:30 -08:00
0HyperCube and Keavon Chambers
b31e8f7b6d
Make menu lists searchable ( #1499 )
...
* Searchable font list
* Bug fixes and UX polish for edge cases
* More work, still more bugs to fix
* Don't update highlight when not open
* Bug fixes
* Additional bug fixes and code review
* Fix keyboard input being sent to backend
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2024-03-09 10:58:13 +00:00
0HyperCube and Keavon Chambers
229b5dbb20
Use f64 not f32 throughout graph; add Vector2 value node ( #1618 )
...
* Use doubles in graph
* Format .graphite files onto one line
* Rename new node to Vector2
* No primary input
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2024-02-18 22:16:37 +00:00
0HyperCube
0e0e347435
Fix multiple dragged nodes snapping back sometimes ( #1619 )
...
Fix dragging a selection of nodes on one axis (in screen pixels) resetting the selection.
Fix dragging on one axis only
2024-02-18 13:56:40 -08:00
0HyperCube and Keavon Chambers
6f6fb3bcd4
Upgrade several Rust dependencies ( #1613 )
...
`specta` from Hypercube's fork commit to latest upstream commit
`wasm-bindgen` 0.2.87 -> 0.2.91
`spirv-std` from 0.9 to not-yet-merged commit in https://github.com/EmbarkStudios/rust-gpu/pull/1115
`wgpu` 0.17 -> 0.19
`winit` 0.28.6 -> 0.29
`vello` and `vello_svg` from latest upstream commit to not-yet-merged commit in https://github.com/linebender/vello/pull/427
`resvg` 0.36.0 -> 0.39
`glam` 0.24 -> 0.25
`rustybuzz` 0.8.0 -> 0.10.0
`js-sys` and `web-sys` 0.3.55 -> 0.3.67
`usvg` 0.36.0 -> 0.39
`spirv` 0.2.0 -> 0.3
* Update a couple of dependencies
* More test fixing…
* Use upstream Specta instead of fork
* Update comments in Cargo.toml
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2024-02-17 15:02:41 -08:00
0HyperCube
80bffd39bf
Node graph box selection when dragging ( #1616 )
...
* Node box selection
* Cancel box selection on rmb
2024-02-17 14:24:53 -08:00
0HyperCube and Keavon Chambers
aed30d78b8
Fix floating point error with Poisson-disk points being sampled outside shape ( #1596 )
...
* Check opposite corner
* Commets and test
* Fix compiling
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2024-02-04 17:16:16 +00:00
0HyperCube and Keavon Chambers
5f72a6a8a1
Bezier-rs: Use nonzero winding order for Poisson-disk insideness test ( #1590 )
...
* Proper winding order for poisson dist
* More robust cubic solving
* Fix test expecting roots in a different order
* Manual sort impl
* Code review nits
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2024-02-04 06:05:26 +00:00
0HyperCube and Keavon Chambers
208e907fa4
Restore select tool functionality and shallow select mode ( #1583 )
...
* Restore select tool functionality
* UI tweak
* Change all of the things
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2024-01-18 22:28:45 +00:00
0HyperCube
2df329fc0e
Remove old subpath code ( #1582 )
2024-01-17 20:42:38 -08:00
0HyperCube and Keavon Chambers
002151d9c0
SVG import ( #1579 )
...
* SVG import
* Fix error
* Transforms
* Code review nits
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2024-01-16 17:42:48 -08:00
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