Commit Graph
48 Commits
Author SHA1 Message Date
David LuzarandGitHub 3d2e59bfed Revert "Feature: Multi Point Arrows (#338)" (#634)
This reverts commit 16263e942b.
2020-01-31 18:56:55 +01:00
David LuzarandGitHub 6886dfdea7 ensure we reset draggingElement when tool locked (#627) 2020-01-30 22:14:40 +01:00
David LuzarandGitHub bd1c00014b fix not resuming recording (#614) 2020-01-30 15:39:17 +01:00
David LuzarandGitHub 023400c3cc Revert "Fix keyboard shortcut (#587)" (#617)
This reverts commit cc3d71f13c.
2020-01-30 10:40:49 +01:00
David LuzarandGitHub 26048ee469 improve clipboard handling (#596)
* improve clipboard handling

* fix regression of not defocusing tool icons
2020-01-27 22:14:35 +01:00
David LuzarandGitHub 187cfbe2d8 temp hack fix for state updates (#593)
* temp hack fix state updates

* switch setTimeout for state mutation
2020-01-27 19:24:11 +01:00
David LuzarandGitHub 61264ee2d6 move title to label (#584) 2020-01-26 20:49:18 +01:00
David LuzarandChristopher Chedeau e17f743df1 change cartoonist roughness (#582) 2020-01-26 19:16:33 +00:00
David LuzarandChristopher Chedeau 7b842fc330 simplify distance helper and factor out common bounds helper (#581)
* simplify distance helper

* factor out common bounds helper
2020-01-26 19:15:08 +00:00
David LuzarandGitHub afb1d6725f Normalize dimensions (#527)
* normalize dimensions of non-linear elements

* fix element type check regression
2020-01-24 20:45:52 +01:00
4942a452e0 Lint tweaks (#502)
* lint json files & add lint ignore list

* lint against plain console logs

* Update .lintstagedrc.js

Co-Authored-By: Lipis <lipiridis@gmail.com>

* format .tsconfig

* don't lint against console.info

* change log to console.info

Co-authored-by: Lipis <lipiridis@gmail.com>
2020-01-22 15:13:00 +01:00
David LuzarandGitHub 5bd1c8b3cd update events for GH actions to include PRs (#511)
* update events for GH actions to include PRs

* change action events to pull_request only
2020-01-22 14:18:31 +01:00
20cf1078fc add top error boundary & reset localStorage on error (#493)
* add top error boundary & reset localStorage on error

* add issue tracker details and link

* add pointer cursor to buttons

* Update src/bug-issue-template.js

Co-Authored-By: Lipis <lipiridis@gmail.com>

* Update src/styles.scss

Co-Authored-By: Lipis <lipiridis@gmail.com>

* Update src/bug-issue-template.js

Co-Authored-By: Lipis <lipiridis@gmail.com>

* use open-color colors

* use Cascadia font

Co-authored-by: Lipis <lipiridis@gmail.com>
2020-01-21 15:50:25 +01:00
David LuzarandChristopher Chedeau 2340dddaad Sync panel props to editing element (#470)
* ensure panel props are sync to editing elem

* ensure we don't create empty-text elements (fixes #468)

* remove dead code

Co-authored-by: Christopher Chedeau <vjeuxx@gmail.com>
2020-01-20 15:16:22 -08:00
David LuzarandChristopher Chedeau d44c4ca2d8 flush autosave on unload (#473) 2020-01-20 09:37:42 -08:00
David LuzarandLipis 0097652b79 disallow shape selection during creation (#449) 2020-01-20 01:27:00 +02:00
David LuzarandLipis 6892348c3d Revert 400 and 420 (#422)
* revert #400 font file

* Revert "Revert "Set scale for export images (#416)" (#420)"

This reverts commit d603921234.
2020-01-17 16:43:24 +02:00
David LuzarandChristopher Chedeau 0e56cd4f56 pan canvas on wheel button drag (#375)
* pan canvas on wheel button drag

* make mousemove passive
2020-01-15 15:21:39 -08:00
David LuzarandFaustino Kialungila 42968ef44d enable curveFitting & bump roughjs (#373) 2020-01-15 20:01:50 +01:00
David LuzarandFaustino Kialungila 8104c8525d ensure contextMenu doesn't overflow viewport (#364) 2020-01-14 09:44:18 +01:00
David LuzarandChristopher Chedeau 58ad6d741d fix selecting elem inside already selected element (#349) 2020-01-12 11:43:31 -08:00
David LuzarandChristopher Chedeau 5887be6eda select filled elements by clicking inside (#340) 2020-01-12 11:16:48 -08:00
dwelle 81f23a8ccb fix text shape contenteditable & paste handling (fixes #293) 2020-01-10 15:51:22 +01:00
David LuzarandGitHub 2fb3cdd5e4 fix copy/paste regression (#291) 2020-01-09 18:43:24 +01:00
David LuzarandGitHub deee57314d support export canvas to clipboard (#232) 2020-01-09 17:37:08 +01:00
David LuzarandGitHub 068dca604f prevent commit on eslint warnings & fix lint (#268) 2020-01-08 20:08:43 +01:00
David LuzarandGitHub 2122a9cf9f fix for duplicating elements (#261) 2020-01-08 19:54:42 +01:00
David LuzarandGitHub 7f7f51f70b remove static/ from git & ignore (#265) 2020-01-08 19:18:17 +01:00
David LuzarandChristopher Chedeau 58ec6567ae ensure alt+drag duplicates all selected elems (#258) 2020-01-08 09:09:02 -08:00
dwelle 08b804ac63 ensure only selected elems can be resized (fixes #256) 2020-01-08 18:06:04 +01:00
dwelle 009412a093 improve typing for handlerRectangles 2020-01-08 17:05:00 +01:00
David LuzarandGitHub 1443cf1cd5 implement shift+resize for all sides (#210) 2020-01-06 21:19:21 +01:00
David LuzarandGitHub eb6f591f6f add gitter link to readme 2020-01-05 18:51:53 +01:00
David LuzarandChristopher Chedeau 490438960d fix export to support scrolling (#133) 2020-01-04 12:46:50 -08:00
David LuzarandGitHub dcf252f03c make container fullscreen (#117)
make container fullscreen
2020-01-04 19:17:17 +01:00
dwelle a1bcfb401c move css to scss 2020-01-04 19:14:12 +01:00
dwelle 250fbe2e1e make container fullscreen 2020-01-04 18:38:31 +01:00
dwelle c5d65ccb39 ensure we defocus input on canvas click
- also reuse the same detection logic for cancelling keyboard events
2020-01-04 17:46:45 +01:00
David LuzarandChristopher Chedeau e0deb68875 ensure mouse drag doesn't select texts (#32) (#111) 2020-01-04 06:22:08 -08:00
David LuzarandChristopher Chedeau c623312380 add support for clearing canvas (#108) 2020-01-04 06:20:53 -08:00
David LuzarandGitHub 2d0934fdd9 Fix: right clicking while on the canvas messes up selection (#106)
Fix: right clicking while on the canvas messes up selection
2020-01-04 12:39:06 +01:00
David LuzarandChristopher Chedeau db386b8400 fix regression of always exporting bg (#62) 2020-01-03 05:18:26 -08:00
David LuzarandChristopher Chedeau 4c1bf07863 ensure click-to-select is exclusive (fixes #43) (#45) 2020-01-02 13:03:14 -08:00
dwelle e9bc1eb98a add .vscode to .gitignore 2020-01-02 21:12:07 +01:00
dwelle 579c32b5b2 remove optional chaning
until CodeSandbox adds support for it in CRA apps
2020-01-02 20:43:00 +01:00
dwelle 4eda1cfb5d prevent exporting empty canvas 2020-01-02 18:19:00 +01:00
dwelle f091e9813e fix exporting bg for non-cropped exports
- also refactor and add comments to `exportAsPNG`
2020-01-02 18:11:58 +01:00
David LuzarandChristopher Chedeau 68eeaa3c7d add PNG export (#31) 2020-01-02 06:43:59 -08:00