hunkim98 / dotting

Dotting is a pixel art editor component library for react
https://hunkim98.github.io/dotting/
MIT License
46 stars 12 forks source link

Bug: selection not working with layers #98

Closed KR155E closed 10 months ago

KR155E commented 10 months ago

The selection tool appears to not be working when utilizing layers.

Steps to reproduce:

  1. Have an image with multiple layers
  2. Make a selection with the selection tool
  3. Try to drag that selection

It errors out with:

Uncaught Error: Must specify layerId when there are multiple layers at DataLayer.erasePixels (DataLayer.tsx:423:15)