disable map change indicator temporarily

This commit is contained in:
RaidMax 2022-03-29 16:59:32 -05:00
parent 180a4911bc
commit 7dbdf87728

View File

@ -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);