disable map change indicator temporarily
This commit is contained in:
parent
180a4911bc
commit
7dbdf87728
@ -54,7 +54,7 @@ function getPlayerHistoryChart(playerHistory, i, width, maxClients) {
|
|||||||
|
|
||||||
let animationProgress = 0;
|
let animationProgress = 0;
|
||||||
let initialAnimationComplete = false;
|
let initialAnimationComplete = false;
|
||||||
const originalLineDraw = Chart.controllers.line.prototype.draw;
|
/*const originalLineDraw = Chart.controllers.line.prototype.draw;
|
||||||
Chart.helpers.extend(Chart.controllers.line.prototype, {
|
Chart.helpers.extend(Chart.controllers.line.prototype, {
|
||||||
draw: function () {
|
draw: function () {
|
||||||
originalLineDraw.apply(this, arguments);
|
originalLineDraw.apply(this, arguments);
|
||||||
@ -75,7 +75,7 @@ function getPlayerHistoryChart(playerHistory, i, width, maxClients) {
|
|||||||
ctx.restore();
|
ctx.restore();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});*/
|
||||||
|
|
||||||
const canvas = document.getElementById(`server_history_canvas_${i}`);
|
const canvas = document.getElementById(`server_history_canvas_${i}`);
|
||||||
canvas.setAttribute('width', width);
|
canvas.setAttribute('width', width);
|
||||||
|
Loading…
Reference in New Issue
Block a user