(panelNumber)
| 198 | |
| 199 | // Set the current panel based off parameter number, within the correct range (0 < # of panels - 1) |
| 200 | const changeEditingPanel = function(panelNumber) { |
| 201 | currentlySelectedPanelIndex = clamp(panelNumber, 0, post.panels.length - 1) |
| 202 | currentlySelectedSubPanelIndex = 0; |
| 203 | updateForm(); |
| 204 | }; |
| 205 | |
| 206 | const addSubPanel = function() { |
| 207 | const sign = post.panels[currentlySelectedPanelIndex].sign; |
no test coverage detected