Commit graph

26 commits

Author SHA1 Message Date
TrueDoctor
b7f18dfaa8
Implement key handling (#65) 2021-04-07 11:02:56 +02:00
George Atkinson
b88c246c87
Add FSM and related tool plumbing (Fix #54) (#62)
- Added FSM trait
- Added FSM to select and ellipse tools
- Moved circle stamping code to ellipse tool
2021-04-05 15:57:33 -07:00
Keavon Chambers
7c6ab1f327 Rename the "Layers" panel to "Layer Graph" 2021-04-01 21:58:28 -07:00
TrueDoctor
593572a4e8
Add loging implementation for wasm (#56) 2021-03-30 18:48:32 +02:00
Keavon Chambers
b5cd8327dd Change document, viewport, and canvas terminology 2021-03-29 03:52:08 -07:00
T0mstone
94f50377a3
Implement basic circle stamping (#53) 2021-03-29 01:44:34 +02:00
T0mstone
c437f1bd22
Add plumbing for event system (#52)
* Add plumbing for event system

* Apply review suggestions

* Add swap and reset color functions
2021-03-28 23:39:33 +02:00
RustyNixieTube
ea1f9f30f0
Record mouse movement (#51)
* Record mouse movement

* Use get for last_point and first_point

* Use first and las for first_point and last_point

* Remove unnecessary comment

* Derive Default for Trace

Co-authored-by: RustyNixieTube <RustyNixieTube@users.noreply.github.com>
2021-03-28 19:59:41 +02:00
Keavon Chambers
e280bec824 Rearrange WASM code async import style 2021-03-28 01:32:58 -07:00
Keavon Chambers
f3533b2848 Change Vue CLI's lint results from none to warning 2021-03-28 01:31:52 -07:00
T0mstone
0adfa3af72
Rename import to remove graphite prefix (#50) 2021-03-27 16:43:37 -07:00
TrueDoctor
0e553adb32
Implement event/response roundtrip (#49) 2021-03-28 00:23:41 +01:00
TrueDoctor
04dc05e575
Rework the ToolState and integrate it into the Editor struct (#48)
* Rework the ToolState and integrate it into the Editor struct

* Add asset manager sources to docs outline
2021-03-27 22:02:01 +01:00
ProTheory8
0083a2f788
Add .gitattributes file (#46)
Add .gitattributes and enforce the use of LF
2021-03-27 11:48:05 +01:00
ProTheory8
fde5f7e21f
Add metadata (#45)
* Add wasm-pack metadata
* Add Wasm tests directory
* Add basic Cargo manifest metadata
* Make web frontend unpublishable to npm
2021-03-27 11:16:05 +01:00
Keavon Chambers
479d2856c6 Various small fixes; no longer lint on Vue CLI run 2021-03-27 02:26:55 -07:00
ProTheory8
fe111a6684 Add camelcase rule, import Error type from JS and rename get_inner_color to inner. (#44)
* Add camelcase rule to .eslintrc.js

* Import Error type from JS, rename crate::wrappers::Color::get_inner_color to crate::wrappers::Color::inner
2021-03-27 02:26:55 -07:00
RustyNixieTube
0156813dec Implement update_colors (#43)
Co-authored-by: RustyNixieTube <RustyNixieTube@users.noreply.github.com>
2021-03-27 02:26:55 -07:00
TrueDoctor
f9308a6d5a Add tool_state functionality to wasm-wrapper (#42) 2021-03-27 02:26:55 -07:00
Keavon Chambers
fe51be0bb6 Move .editorconfig to root for GitHub tab rendering 2021-03-27 02:26:55 -07:00
Keavon Chambers
0e6c4400dc Switch inline SVGs to using SVG file loader 2021-03-27 02:26:55 -07:00
Keavon Chambers
6f32c1a0c9 Fix compiling issue broken while cleaning up last commit 2021-03-27 02:26:55 -07:00
Keavon Chambers
7323d3cd21 Remove WebPack and let Vue CLI handle WASM. Project restructuring fixes. Add Vue SVG Loader. Fixes #29. 2021-03-27 02:26:55 -07:00
TrueDoctor
8741e31c92 Add wasm-bindgen to Vue config (#38) 2021-03-27 02:26:55 -07:00
Keavon Chambers
2613ded439 Rename more of the project structure. Fixes #39. 2021-03-27 02:26:55 -07:00
Keavon Chambers
7bfb04a99a Rename project structure with /core and /client 2021-03-27 02:26:55 -07:00