DDMAL / pixel_wrapper

Rodan Pixel.js Wrapper
Other
0 stars 1 forks source link

Add button to generate background w/ progress bar #15

Closed EricHanLiu closed 6 years ago

EricHanLiu commented 6 years ago

This way the background is optional and the user won't have to wait for the background to be regenerated each time they export to a different type; it is done once globally.

Also implemented a progress bar (same bar as exportToDataPNG and exportToCSV) so the user knows how long it takes until the background layer generation is completed without freezing the user interface (previously they'd have to open the console to see progress, and the UI would be frozen until it completed).

Fixed my formatting to better match the style of the existing code.