MCPcopy Index your code
hub / github.com/cifertech/DisplayKit / updateUndoRedoButtons

Function updateUndoRedoButtons

app.js:1941–1944  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1939}
1940
1941function updateUndoRedoButtons() {
1942 undoBtn.disabled = historyIndex <= 0;
1943 redoBtn.disabled = historyIndex >= history.length - 1;
1944}
1945
1946function hexToRgb(hex) {
1947 // Remove # if present

Callers 2

pushHistoryFunction · 0.85
app.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected