fix: remove alert(), fix waveform zoom, add waveform scroll (wheel + ctrl+wheel)

This commit is contained in:
Jose Luis Montañes
2026-03-19 22:08:26 +01:00
parent d5de328898
commit 7c58174f5f
3 changed files with 22 additions and 5 deletions

View File

@@ -20,7 +20,7 @@ export function simTick() {
export function startSim() {
if (state.simRunning) return;
const hasClocks = state.gates.some(g => g.type === 'CLOCK');
if (!hasClocks) { alert('Place a CLOCK gate first!'); return; }
if (!hasClocks) return;
state.simRunning = true;