ChaddFrasier / PIE

Planetary Image Editor. Using the idea of PIPS but exchanging the back-end server for an api that can connect to usgs applications like POW or PILOT.
0 stars 0 forks source link

Icon buttons activate & deactivate #183

Closed ChaddFrasier closed 3 years ago

ChaddFrasier commented 3 years ago

Allow for the activating and deactivating of the icon buttons when images are removed or added.

ChaddFrasier commented 3 years ago

Write a function that checks the current svg object for a GEO image that is not the currently removing GEO image and run the function whenever the remove image 'x' is used to delete an image.

ChaddFrasier commented 3 years ago

This would be much easier to create an object to track which icon buttons are active and the ability to turn them on and off tracking all images.

{ { imagename1: [btn1, btn2], imagename2: [btn2, btn4] } }