(subPanelNumber)
| 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) { |
| 235 | currentlySelectedSubPanelIndex = clamp(subPanelNumber, -1, post.panels[currentlySelectedPanelIndex].sign.subPanels.length - 1) |
| 236 | updateForm(); |
| 237 | }; |
| 238 | |
| 239 | // Create a new exit tab, update the form, and redraw. |
| 240 | const newExitTab = function() { |
no test coverage detected