3de426b7cc
Drag to rearrange layers in the layer panel ( #434 )
...
* Add insert line
* Implement dragging
* Improve CSS and variable naming consistency
* Resolved folder crash, added Undo/Redo support
* Removed marker TODO leftover
* JS cleanup
* WIP preserving expanded state (via LayerData) when copy/pasting and moving layers in layer panel
* Finish making folders copy/paste preserving expanded state, but not recursively yet
* Add cut, copy, and paste to the Edit menu (#440 )
* Add cut
* Hook up edit dropdown
* Use copy message
Co-authored-by: Keavon Chambers <keavon@keavon.com >
Co-authored-by: otdavies <oliver@psyfer.io >
2021-12-30 17:18:18 +00:00
SonyStone and Keavon Chambers
6da903011a
Change mouse to pointer events ( #403 )
...
* Change mouse to pointer events
* Add `npm start` command
* Change all mouse to pointer events;
Fix `touch-action: none;`
* Merge with master
* Fix middle mouse click
* Remove console.log
* Delete the empty line
* Re-add middle click auto-scroll blocking
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2021-12-21 14:37:58 +03:00
Keavon Chambers
1cf90bde9a
Fix floating menus above scrollable content; they now respect content's preferred width at edges
2021-12-15 04:04:59 -08:00
Keavon Chambers and Dennis Kobert
225b46300d
Hook up layer tree structure with frontend ( #372 )
...
* Hook up layer tree structure with frontend (decoding and Vue are WIP)
* Fix off by one error
* Avoid leaking memory
* Parse layer structure into list of layers
* Fix thumbnail updates
* Correctly popagate deletions
* Fix selection state in layer tree
* Respect expansion during root serialization
* Allow expanding of subfolders
* Fix arrow direction
Co-authored-by: Dennis Kobert <dennis@kobert.dev >
2021-09-11 17:15:51 -07:00
Keavon Chambers
92953e348b
Clean up popovers: background color and placeholder text
2021-08-11 23:53:05 -07:00
Keaton Brandt
74d0e6dbc0
Fix clicking on menu bar sub-menu entries ( #337 )
...
* Fix a bug where clicking a submenu would cause the parent menu to be closed before the submenu click could be registered. Also ignores package-lock.json.
* Remove package-lock gitignore
* Add back empty line
2021-08-10 17:54:09 -04:00
Keavon Chambers
53ad105f57
Restructure project directories ( #333 )
...
`/client/web` -> `/frontend`
`/client/cli` -> *delete for now*
`/client/native` -> *delete for now*
`/core/editor` -> `/editor`
`/core/document` -> `/graphene`
`/core/renderer` -> `/charcoal`
`/core/proc-macro` -> `/proc-macros` *(now plural)*
2021-08-07 05:17:18 -07:00