()
| 306 | |
| 307 | // Delete all shields of a sign |
| 308 | const clearShields = function() { |
| 309 | const subPanel = post.panels[currentlySelectedPanelIndex].sign.subPanels[currentlySelectedSubPanelIndex]; |
| 310 | const shields = subPanel.shields; |
| 311 | |
| 312 | while (shields.length > 0) { |
| 313 | deleteShield(shields.length - 1, currentlySelectedSubPanelIndex); |
| 314 | }; |
| 315 | }; |
| 316 | |
| 317 | // Duplicate a shield |
| 318 | const duplicateShield = function(shieldIndex) { |
nothing calls this directly
no test coverage detected