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