We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c20a35 commit 91b1cbdCopy full SHA for 91b1cbd
src/networkMonitor.ts
@@ -230,11 +230,8 @@ namespace NetworkMonitor {
230
width: w,
231
height: h,
232
onDraw: function (g) {
233
- g.stroke = 1;
234
- g.line(0, 0, this.width - 1, 0);
235
- g.line(this.width - 1, 0, this.width - 1, this.height);
236
- g.line(0, this.height - 1, this.width - 1, this.height - 1);
237
- g.line(0, 0, 0, this.height);
+ g.colour = this.window?.colours[1] || 0;
+ g.well(0, 0, this.width, this.height);
238
g.clip(1, 1, this.width - 2, this.height - 2);
239
drawGraph(g, this.width - 2, this.height - 2, kind);
240
}
@@ -276,7 +273,7 @@ namespace NetworkMonitor {
276
273
yOffset -= lineHeight;
277
274
if (lineHeight > 0) {
278
275
g.fill = categoryGroups[n].paletteIndex;
279
- g.fillRect(x, yOffset, barWidth, lineHeight);
+ g.rect(x, yOffset, barWidth, lineHeight);
280
281
282
0 commit comments