MCPcopy Create free account
hub / github.com/openscopeproject/InteractiveHtmlBom / setBoardRotation

Function setBoardRotation

InteractiveHtmlBom/web/render.js:1030–1035  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

1028}
1029
1030function setBoardRotation(value) {
1031 settings.boardRotation = value * 5;
1032 writeStorage("boardRotation", settings.boardRotation);
1033 document.getElementById("rotationDegree").textContent = settings.boardRotation;
1034 resizeAll();
1035}
1036
1037function setOffsetBackRotation(value) {
1038 settings.offsetBackRotation = value;

Callers 1

ibom.jsFile · 0.85

Calls 2

writeStorageFunction · 0.85
resizeAllFunction · 0.85

Tested by

no test coverage detected