Graphite/client/web
0HyperCube 39e6893630
Viewport canvas navigation with modifier keys and zoom widget (#229)
* Add rotation around the center

* Document transform centred

* Fix drawing hexagon on rotated document

* Format

* Fix translation on rotated document

* Remove logging

* Rotate around centre of viewport

* Rotate with shift + MMB drag

* Zoom with +/- keys

* Rotation input field

* Implement frontend zoom buttons

* Zoom with ctrl + MMB

* Format

* Update number inputs

* Require Ctrl + Plus / Minus key

* Ctrl scroll

* Update zoom -> Multiply Zoom

* Fix typo

* More fixing typo

* Remove :v-on

* Add mouse scroll X

* Scrolling on document

* Refactor

* Format

* Fix ctrl + plus/minus to zoom

* Reduce zoom sensitivity

* Ctrl + shift + mmb drag = snap rotate

* Further reduce zoom speed

* Add ctrl + number key to change zoom

* Switch Ctrl and Shift for zoom and rotate

* Fix compile errors

* Format JS

* Add increment to snap angle

* Edit getting layerdata functions

* Pass viewport size directily into create_document_transform_from_layerdata

* Add to_dvec2()

* Refactor get_transform

* Get -> Calculate

* Add consts

* Use to_radians

* Remove get from function names

* Use .entry when getting layerdata that does not exist

* Fix distance scroll calculations

* Fix zooming.

* Remove 'Violation' in chrome

* Fix compile errors
2021-07-12 23:50:10 -07:00
..
assets Add the checkbox input widget (#204) 2021-07-08 14:10:30 -07:00
public Standardize icon sizes and folder paths (closes #110) 2021-05-27 00:14:50 -07:00
src Viewport canvas navigation with modifier keys and zoom widget (#229) 2021-07-12 23:50:10 -07:00
wasm Viewport canvas navigation with modifier keys and zoom widget (#229) 2021-07-12 23:50:10 -07:00
.eslintrc.js Layer selection (#166) 2021-06-09 20:40:51 +02:00
.gitignore Fix web code linting to be portable across environments 2021-04-14 13:22:43 -07:00
package-lock.json Downgrade wasm-pack and Vue-related dependencies which are causing issues 2021-07-09 20:29:14 -07:00
package.json Downgrade wasm-pack and Vue-related dependencies which are causing issues 2021-07-09 20:29:14 -07:00
tsconfig.json Fix web code linting to be portable across environments 2021-04-14 13:22:43 -07:00
vue.config.js Fix web code linting to be portable across environments 2021-04-14 13:22:43 -07:00