Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
MBetterc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mbetter
MBetterc
Commits
95fd0fb3
Commit
95fd0fb3
authored
Feb 20, 2026
by
Stefy Lanza (nextime / spora )
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix countdown timer: poll timer state periodically and send updates to overlay
parent
dd151fba
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
overlay-controller.js
web/overlay-controller.js
+7
-0
No files found.
web/overlay-controller.js
View file @
95fd0fb3
...
@@ -571,6 +571,13 @@ class WebOverlayController {
...
@@ -571,6 +571,13 @@ class WebOverlayController {
}
}
}
}
// Also fetch timer state on each poll
const
timerState
=
await
this
.
fetchTimerState
();
if
(
timerState
&&
(
timerState
.
running
||
this
.
timerState
.
running
))
{
// Send timer update if timer is running or was running
this
.
sendMessageToOverlay
(
'timerUpdate'
,
timerState
);
}
return
response
;
return
response
;
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
error
(
'[OverlayController] Failed to fetch overlay data:'
,
error
);
console
.
error
(
'[OverlayController] Failed to fetch overlay data:'
,
error
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment