MCPcopy Create free account
hub / github.com/JKPotato-Computer/SignMaker / deleteShield

Function deleteShield

js/main copy.js:203–208  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

201 * Update the shield subform with the new shield.
202 */
203 const deleteShield = function() {
204 const sign = post.panels[currentlySelectedPanelIndex].sign;
205 sign.deleteShield(this.dataset.shieldIndex);
206 updateShieldSubform();
207 redraw();
208 };
209
210 const clearShields = function() {
211 var items = post.panels[currentlySelectedPanelIndex].sign.shields.length

Callers

nothing calls this directly

Calls 3

deleteShieldMethod · 0.80
updateShieldSubformFunction · 0.70
redrawFunction · 0.70

Tested by

no test coverage detected