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

Function newShield

js/main copy.js:192–197  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

190 * Update the shield subform with the new shield.
191 */
192 const newShield = function() {
193 const sign = post.panels[currentlySelectedPanelIndex].sign;
194 sign.newShield();
195 updateShieldSubform();
196 redraw();
197 };
198
199 /**
200 * Delete a shield to the current panel's sign.

Callers

nothing calls this directly

Calls 3

newShieldMethod · 0.80
updateShieldSubformFunction · 0.70
redrawFunction · 0.70

Tested by

no test coverage detected