MCPcopy
hub / github.com/rikschennink/fitty / redrawAll

Function redrawAll

src/fitty.js:35–38  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

33
34 // sets all fitties to dirty so they are redrawn on the next redraw loop, then calls redraw
35 const redrawAll = (type) => (options) => {
36 fitties.forEach((f) => (f.dirty = type));
37 requestRedraw(options);
38 };
39
40 // redraws fitties so they nicely fit their parent container
41 const redraw = (fitties) => {

Callers 2

onWindowResizedFunction · 0.85
fitty.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…