MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / updateZoomFactor

Function updateZoomFactor

frontend/wave.ts:53–57  ·  view source on GitHub ↗
(zoomFactor: number)

Source from the content-addressed store, hash-verified

51(window as any).modalsModel = modalsModel;
52
53function updateZoomFactor(zoomFactor: number) {
54 console.log("update zoomfactor", zoomFactor);
55 document.documentElement.style.setProperty("--zoomfactor", String(zoomFactor));
56 document.documentElement.style.setProperty("--zoomfactor-inv", String(1 / zoomFactor));
57}
58
59async function initBare() {
60 getApi().sendLog("Init Bare");

Callers 1

initBareFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected