Florent Chehab
d4a30ea3ed
style: formatted entire repo
2020-05-09 15:45:17 +02:00
raphael
9f9fca40b7
transmit cursor movement while drawing
2020-05-09 15:08:49 +02:00
raphael
684a7d80e0
make mouse movement smooth as default
2020-05-09 15:07:54 +02:00
Florent Chehab
677f3d95a1
fix(front): definite fix to getRoundedAngles
...
* Switched to pure math transformation
2020-05-06 23:13:44 +02:00
Florent Chehab
c93d3e643a
feat(front): deactivate readOnly in dev by default
2020-05-06 22:21:09 +02:00
Florent Chehab
3dd889b800
fix: restore upstream master changes
2020-05-06 22:12:56 +02:00
Florent Chehab
dde88ae2fb
refacto(frontend): use new Point class
...
* standardized pos from event
* Also transformed some vars into const
2020-05-06 21:59:20 +02:00
Florent Chehab
9933930a73
refacto(frontend): added and used ReadOnlyService
2020-05-06 21:57:48 +02:00
Florent Chehab
67fd33c66b
refactor(frontend): event threshold handling
...
* Created const and utils helpers
* Created point class
2020-05-06 21:57:47 +02:00
Florent Chehab
7a81491ffa
fix(front): show cursor on load
2020-05-06 21:57:00 +02:00
Florent Chehab
fcdda2c344
refacto(front): modularized shortcutFunctions
...
* Also made them un-reactive when read-only by default
2020-05-06 21:57:00 +02:00
Florent Chehab
7ec4ef0df0
feat(frontend): cleaned read-only & style
...
* cleaned unsued css classes
* Reorganized buttons based on if they are edit related or not
* meaningful css when locking for better ui experience
* renamed viewOnly to more standard readOnly
2020-05-06 21:57:00 +02:00
Florent Chehab
8117be3f52
feat(frontend): add read-only mode and default to it
2020-05-06 21:56:59 +02:00
Florent Chehab
b0501824cf
feat(frontend): default to mouse and don't emit cursor while drawing
2020-05-06 21:56:59 +02:00
Florent Chehab
8a1f1b4210
feat(frontend): reduce the number of cursor messages sent
...
* require a minimum position / time variation between emitions
2020-05-06 21:56:57 +02:00
Florent Chehab
db89dd819b
feat(frontend): track the number of messages received / sent
2020-05-06 21:55:13 +02:00
raphael
774db98cc7
fix shift draw line things
2020-05-04 17:23:47 +02:00
raphael
9c3713d0c6
always set shift to true on press
2020-05-04 14:42:25 +02:00
raphael
89dbabf1d2
always set tool intern to mouse while image drop is active
2020-05-04 14:40:24 +02:00
raphael
ea0e9f8452
draw lines on shift press when pen is selected
2020-05-04 14:22:08 +02:00
raphael
9a4f32c99a
fix README and alert text
2020-04-29 19:24:24 +02:00
raphael
d173c7728c
improve performance of pdf to image function
2020-04-29 16:01:22 +02:00
raphael
c86ee45f11
working with multiple pages
2020-04-29 15:50:31 +02:00
raphael
15135540fe
add basic pdf to image conv function
2020-04-29 15:32:48 +02:00
raphael
832cd7fbbb
fix resizable
2020-04-27 13:50:23 +02:00
raphael
61e208ccc8
define var and fix pasting imgs
2020-04-23 15:10:36 +02:00
Florent Chehab
9f5c5b2f30
fix(fa icons): should render everywhere
...
* setup is not perfect but should do the trick for now
* Suggestion: add all the icon the dom and reuse them so that we don't have to do dom.i2svg(); everytime
2020-04-20 11:18:52 +02:00
Florent Chehab
d5cb969ee5
fix: undefined vars / resizable / upload
...
* was brokend by refacto
2020-04-19 17:57:54 +02:00
Florent Chehab
39e8dd398b
fix(bundle size): include only required icons
2020-04-19 17:42:26 +02:00
Florent Chehab
dcc5191a3c
style(main.js): indented because in function now
2020-04-19 16:50:47 +02:00
Florent Chehab
99378c276b
fix(colorPicker): cleaned setup of new lib
2020-04-19 16:49:39 +02:00
Florent Chehab
6025dc595a
refacto(endpoints): endpoints under /api or /ws-api
...
* Easier setup of webpack dev-server & proxying
2020-04-19 16:42:32 +02:00
Florent Chehab
84b4ff019f
refacto(src): a bit of cleaning
2020-04-19 16:32:30 +02:00
Florent Chehab
0a32a73742
refacto(assets / src): reorganized
2020-04-19 16:26:45 +02:00