Skip to content

Commit 6850e93

Browse files
committed
Heatmap: Debug black css, with interval loop
1 parent 2a9ff79 commit 6850e93

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

src/app/pages/circular-heatmap/circular-heatmap.component.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,15 @@ export class CircularHeatmapComponent implements OnInit, OnDestroy {
157157
console.debug(`${perfNow()}s: themeService.pipe: Heatmap theme colors:`, this.theme_colors);
158158
if (!this.theme_colors['background'] || !this.theme_colors['filled']) {
159159
console.debug(css);
160-
debugger;
160+
console.debug(`${perfNow()}s: ------------------ Black day --------------`);
161+
var DBG_i: number = 0;
162+
var interval = setInterval(() => {
163+
DBG_i++;
164+
console.debug(`${perfNow()}s: #${DBG_i} themeService.pipe: bk.gr col: '${getComputedStyle(document.body).getPropertyValue('--heatmap-background').trim()}'`);
165+
if (DBG_i >= 100) {
166+
clearInterval(interval);
167+
}
168+
}, 10);
161169
}
162170

163171
// Repaint segments with new theme

0 commit comments

Comments
 (0)