Commit Graph
12 Commits
Author SHA1 Message Date
Paul KupperandKeavon Chambers 38e75c2232 Implement the Spline Tool (#512)
* Add Spline Tool

* Adapt to changes from master

* Apply review feedback

* Fixes

Co-authored-by: Keavon Chambers <keavon@keavon.com>
2022-02-09 16:22:57 -08:00
Paul Kupper 5534d0a44c Set text fill color to the primary color (#521)
* Fix text has no fill

* Use primary color for text fill

* Use correct text color when editing

* Change fallback text color to gray
2022-02-07 11:58:22 -08:00
Paul Kupper 3fc517e1c4 Fix shape not closed after using Fill Tool (#510)
* Always set shape property 'closed' on fill

* Remove closed property on Shape

* Make color mandatory in Fill

* Fix intersection for filled but open shapes

* Code style tweak

* Add TODO note to rework ClosePath check
2022-02-06 14:06:23 -08:00
Paul Kupper 72cc5d5b04 Add log level selection to help menu (#511)
* Add log level selection to help menu

* Show keyboard shortcuts in loglevel menu items
2022-02-05 10:53:42 -08:00
Paul Kupper 0da8dabba9 Implement Freehand Tool (#503)
* Implement freehand tool

* Address review comments

* Consistent ordering of tools

* Add hotkey N for freehand tool

* Tweak freehand tool hint
2022-01-30 11:39:49 +01:00
Paul Kupper d7ca140199 Fix n-gon intersection (#342)
* Fix n-gon intersection

* Fix not all layers selected with box selection

* Code golf for TrueDoctor
2021-08-11 14:58:10 -07:00
Paul KupperandKeavon Chambers a297c9de8a Implement viewport selection (#178)
* Begin implementing viewport selection

* Implement viewport click and drag selection for ellipse and rectangle

* Begin implementing line selection

* Remove debug prints

* Run cargo format

* Use DVec2 instead of kurbo::Point

* Line and polyline intersection

* Run cargo format

* Add fix for missing layer panel update

* Replace point selection with box selection

* Formatting

Co-authored-by: Keavon Chambers <keavon@keavon.com>
2021-07-04 16:05:12 -07:00
Paul Kupper f808ee5a94 Don't use ESLint formatter for Rust files in VS Code (#228)
* Remove default formatter from vscode settings

* Only use eslint formatter on js/ts/json/vue files
2021-07-04 13:29:50 -07:00
Paul Kupper 57252fa828 Cancel in-progress drag with right click or escape key (#119) 2021-05-09 01:26:47 -07:00
Paul Kupper 1230e9d829 Improved Rectangle, Line and Shape Tools (#106) 2021-05-07 11:05:03 -07:00
Paul Kupper 9c324edfe0 Fix ellipse tool behavior (#105) 2021-05-07 02:47:38 -07:00
Paul Kupper c9fea54ec5 Improve Ellipse Tool (#98) 2021-05-07 02:47:38 -07:00