(shieldIndex)
| 298 | |
| 299 | // Delete the current shield, update the shield subform, and redraw the sign |
| 300 | const deleteShield = function(shieldIndex) { |
| 301 | const sign = post.panels[currentlySelectedPanelIndex].sign; |
| 302 | sign.deleteShield(shieldIndex, currentlySelectedSubPanelIndex); |
| 303 | updateShieldSubform(); |
| 304 | redraw(); |
| 305 | }; |
| 306 | |
| 307 | // Delete all shields of a sign |
| 308 | const clearShields = function() { |
no test coverage detected