MCPcopy Create free account
hub / github.com/JKPotato-Computer/SignMaker / newPanel

Function newPanel

js/main copy.js:114–119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

112 * Redraw the page.
113 */
114 const newPanel = function() {
115 post.newPanel();
116 currentlySelectedPanelIndex = post.panels.length - 1;
117 updateForm();
118 redraw();
119 };
120
121 /**
122 * Duplicate the currently selected panel.

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