()
| 223 | |
| 224 | // Duplicate the current subpanel, set the editing to that subpanel, update the form, and redraw. |
| 225 | const duplicateSubPanel = function() { |
| 226 | const sign = post.panels[currentlySelectedPanelIndex].sign; |
| 227 | sign.duplicateSubPanel(currentlySelectedSubPanelIndex); |
| 228 | currentlySelectedSubPanelIndex++; |
| 229 | updateForm(); |
| 230 | redraw(); |
| 231 | }; |
| 232 | |
| 233 | // Set the current editing (SUB)panel based off paramter number, within the correct range (0 < # of panels - 1) |
| 234 | const changeEditingSubPanel = function(subPanelNumber) { |
nothing calls this directly
no test coverage detected