icirellik / glowforge-material-manager

A simple chrome extension to allow saving custom materials.
MIT License
17 stars 7 forks source link

New Material Always Use Latest Id #43

Closed icirellik closed 6 years ago

icirellik commented 6 years ago

Fixed a bug where removing an element could prevent creating additional materials. This was due the identifiers being generated from the raw material array length, which would shrink by one when deleteing. After which a new materials id would collide with the last material in the array.

Also, added view to the drop down.