Graphite/frontend
Oliver Davies e54fedc6a5 Move layer selection logic from vue to editor (#410)
* Add vue selectLayer(layer, ctrl, shift)

* Individual selection working, range fill next

* Frontend package-lock.json seems apparently needs to be pushed. Weird.

* Selection working with ctrl, shift from editor. Still some bugs to sqaush with folder nesting.

* WIP resolving nesting folders issues

* Changed comparison approach, handling corner cases now

* Fully working selection.

* Reverted changes to package-lock.json

* Removed unused code

* Resolved ctrl click not behaving similar to windows

* Slight comment clarification

* Double checked a windows behavior and corrected. Changed last_selected name.

* Simplified if statement slightly.

* Made the naming clearer regarding UUIDs versus indices

* Clarified comments further

* Minor comment fixup

* Implemented suggestions, clarified comments

* Resolved todo regarding clearing selection when ctrl not pressed

* Ensure we only push responses when needed

Co-authored-by: Keavon Chambers <keavon@keavon.com>
Reviewed by: @TrueDoctor <3
2021-12-22 17:45:14 -08:00
..
assets Add folders to frontend and folder creation to backend (#315) 2021-08-29 08:27:49 -07:00
public Rework wasm initialization and reduce global state (#379) 2021-12-20 07:37:19 +01:00
src Move layer selection logic from vue to editor (#410) 2021-12-22 17:45:14 -08:00
wasm Move layer selection logic from vue to editor (#410) 2021-12-22 17:45:14 -08:00
.eslintrc.js Skip cargo-about in CI to save 5 minutes (#409) 2021-12-20 02:22:19 -08:00
.gitignore Auto-generate third-party license notices (#370) 2021-09-06 06:57:35 -07:00
package-lock.json Upgrade node packages (#413) 2021-12-20 13:09:24 -08:00
package.json Upgrade node packages (#413) 2021-12-20 13:09:24 -08:00
tsconfig.json Add the Help > About Graphite dialog with build info 2021-12-16 02:31:41 -08:00
vue-svg-loader.js Replace vue-svg-loader dependency with simple JS file (fixes a security alert) (#389) 2021-11-01 00:14:31 -07:00
vue.config.js Skip cargo-about in CI to save 5 minutes (#409) 2021-12-20 02:22:19 -08:00