From 27a4d71b14cec8e10c75d2ca06710b16c64fed9e Mon Sep 17 00:00:00 2001 From: RaidMax Date: Tue, 29 Mar 2022 16:59:32 -0500 Subject: [PATCH] disable map change indicator temporarily --- WebfrontCore/wwwroot/js/server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WebfrontCore/wwwroot/js/server.js b/WebfrontCore/wwwroot/js/server.js index be92143d..3fdc9de2 100644 --- a/WebfrontCore/wwwroot/js/server.js +++ b/WebfrontCore/wwwroot/js/server.js @@ -54,7 +54,7 @@ function getPlayerHistoryChart(playerHistory, i, width, maxClients) { let animationProgress = 0; let initialAnimationComplete = false; - const originalLineDraw = Chart.controllers.line.prototype.draw; + /*const originalLineDraw = Chart.controllers.line.prototype.draw; Chart.helpers.extend(Chart.controllers.line.prototype, { draw: function () { originalLineDraw.apply(this, arguments); @@ -75,7 +75,7 @@ function getPlayerHistoryChart(playerHistory, i, width, maxClients) { ctx.restore(); }); } - }); + });*/ const canvas = document.getElementById(`server_history_canvas_${i}`); canvas.setAttribute('width', width);