Skip to content

Commit 402ba08

Browse files
authored
#43: [BUG] - Service icon is hidden by baseline symbol
1 parent c1f0189 commit 402ba08

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

dist/module.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/module.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/canvas/graph_canvas.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -493,15 +493,16 @@ export default class CanvasDrawer {
493493
// drawing the donut
494494
this._drawDonut(ctx, node, 15, 5, 0.5, [errorPct, unknownPct, healthyPct])
495495

496-
this._drawServiceIcon(ctx, node);
497-
498496
// drawing the baseline status
499497
const showBaselines = this.controller.getSettings().showBaselines;
500498
if (showBaselines && responseTime >= 0 && threshold >= 0) {
501499
const thresholdViolation = threshold < responseTime;
502500

503501
this._drawThresholdStroke(ctx, node, thresholdViolation, 15, 5, 0.5);
504502
}
503+
504+
this._drawServiceIcon(ctx, node);
505+
505506
} else {
506507
this._drawExternalService(ctx, node);
507508
}

0 commit comments

Comments
 (0)