rsabbarton / PixelFlux

Pixel Art Sprite Creator
0 stars 0 forks source link

Brush Tool Not working after File | New #52

Closed rsabbarton closed 1 year ago

rsabbarton commented 1 year ago

When you select File | New from the menu and select a size to create a new sprite this seems to stop the PixelBrush tool from working.

Selecting another tool and coming back does not resolve the issue.

  1. Load/Refresh PixelFlux page
  2. Select Brush tool
  3. Draw on the canvas All OK
  4. Select File
  5. Select New
  6. Select any new sprite size
  7. Click OK to lose unsaved work
  8. Select Brush Tool/Reselect Brush Tool
  9. Drawing NOT OK
rsabbarton commented 1 year ago

[master ac2ad76] Fix for https://github.com/rsabbarton/PixelFlux/issues/52 1 file changed, 2 insertions(+), 2 deletions(-)

rsabbarton commented 1 year ago

PixelBrush object was being passed a redundant sprite object instead of this.sprite