mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-19 23:39:58 -05:00
stopwatch: clear laps on Start
This commit is contained in:
@@ -125,6 +125,7 @@ Singleton {
|
||||
}
|
||||
|
||||
function stopwatchResume() {
|
||||
if (stopwatchTime === 0) Persistent.states.timer.stopwatch.laps = [];
|
||||
Persistent.states.timer.stopwatch.running = true;
|
||||
Persistent.states.timer.stopwatch.start = getCurrentTimeIn10ms() - stopwatchTime;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user