VOCC / vocc

A web-based Gameboy Advance image editor and converter
9 stars 5 forks source link

Can't export default palette without importing an image first #83

Closed lbussell closed 4 years ago

lbussell commented 4 years ago

Steps to reproduce:

  1. Open the application
  2. Click export palette
  3. An alert pops up notifying you that you can't export the palette, even though there is a palette loaded
JohnBeckner commented 4 years ago

Added default file name if image is undefined and moved alert message into the relevant cases for the switch statement