MCPcopy Index your code
hub / github.com/JKPotato-Computer/SignMaker / newPanel

Function newPanel

js/main.js:155–160  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

153
154 // Create a new panel, set the current editing panel to that panel, update the form, and redraw.
155 const newPanel = function() {
156 post.newPanel();
157 currentlySelectedPanelIndex = post.panels.length - 1;
158 updateForm();
159 redraw();
160 };
161
162 // Clone the panel, set the current editing panel to that panel, update the form and redraw.
163 const duplicatePanel = function() {

Callers 2

initFunction · 0.70
deletePanelFunction · 0.70

Calls 3

newPanelMethod · 0.80
updateFormFunction · 0.70
redrawFunction · 0.70

Tested by

no test coverage detected