Commit Graph

3248 Commits (f5c91c3a0f4fbf3f276073acd83ef539b098f449)
 

Author SHA1 Message Date
Giovanni Giordano 26c7f362b6 Fixes body margin
David Luzar db386b8400 fix regression of always exporting bg ()
Giovanni Giordano a980f40e37
Merge pull request from nanot1m/fix-yarn-lock
Fixed yarn.lock
hazam fa02abd99d Fixed yarn.lock
Christopher Chedeau a5b0e192b4
Remove drawScene ()
Christopher Chedeau 4c94976527
Random fixes ()
Faustino Kialungila 10e317e359 Colors
Christopher Chedeau 3b919f3235
Cmd-A to select everything ()
Christopher Chedeau 278fc11d22
Better selection click detection ()
Christopher Chedeau 8a43ed691d
Handle escape keybinding ()
Christopher Chedeau 0d75b78374
Path-dependent hit test ()
* Hit test

* Hit test

* Hit test
David Luzar 4c1bf07863 ensure click-to-select is exclusive (fixes ) ()
Christopher Chedeau b6c30c0550
Copy paste ()
* Copy Paste

* Copy paste
dwelle e9bc1eb98a add .vscode to .gitignore
dwelle 579c32b5b2 remove optional chaning
until CodeSandbox adds support for it in CRA apps
Timur Khazamov 1383758aa7 TS, Prettier, Eslint ()
* TS, Prettier, Eslint

* Used rough ts definitions
dwelle 4eda1cfb5d prevent exporting empty canvas
dwelle f091e9813e fix exporting bg for non-cropped exports
- also refactor and add comments to `exportAsPNG`
Giovanni Giordano e260904244
Merge pull request from vjeux/select-on-click
Fixes selecting an element
Giovanni Giordano 4a4f36592f Fixes selecting an element
Giovanni Giordano 70bd7d874f
Merge pull request from giovannigiordano/select-on-click
Select element on click
Giovanni Giordano 61bdedaecf Clear selection if no element is clicked
Giovanni Giordano 874934e585
Merge branch 'master' into select-on-click
Giovanni Giordano 715efc054e Remove extra check for dragging
Giovanni Giordano a9bd112f47 Select element on click
Giovanni Giordano d399af0923 Setup git and lock deps ()
* Add .gitignore

* Add yarn.lock

* Remove unnecessary paths
David Luzar 68eeaa3c7d add PNG export ()
Giovanni Giordano 6ef7b3d5e8
Merge pull request from vjeux/master
Drag to move selection ()
Timur Khazamov bb151d83bc Drag to move selection ()
Christopher Chedeau 44ff545219 Fix text height
Christopher Chedeau afe6331c61 Reset selection when adding text
Christopher Chedeau ee7dc953bf Fix clearRect for [0, 0.5]
Christopher Chedeau 457800caa3 Mouse move tracked outside window!
Christopher Chedeau 9aaaa24426 Also for text
Christopher Chedeau 2fa00f39fc Automatically select last inserted element
Christopher Chedeau c26d04e162 Don't write null when cancelling text
Christopher Chedeau ab84b5a048 Go to selection mode after adding a shape
Christopher Chedeau f8873dd56b Do not regenerate shapes when moving
Christopher Chedeau bd515f7e50 Real 1px lines
Christopher Chedeau 4076cf003f Proper fix for negative width
Christopher Chedeau 3c8eb862f5 Move with arrow keys
Christopher Chedeau 48d9147d87 Fix selection from right to left
Christopher Chedeau aeb11989e3 Fix text selection
Christopher Chedeau 3769c4af00 Handle backspace
Christopher Chedeau 9dc19dde1d Proper text sizing
Christopher Chedeau 47e626f510
Add selection ()
Christopher Chedeau 6278cd9366 Initial commit
Christopher Chedeau ec23829fce
Initial commit