From 0772a4338b4f334a6b5668c94721f23a9087adb4 Mon Sep 17 00:00:00 2001 From: Mark VanLandingham Date: Wed, 12 Feb 2020 07:09:40 -0800 Subject: [PATCH] FIX: Remove pie draw animation (#8940) --- plugins/poll/assets/javascripts/widgets/discourse-poll.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/poll/assets/javascripts/widgets/discourse-poll.js.es6 b/plugins/poll/assets/javascripts/widgets/discourse-poll.js.es6 index 78a2b347fc9..8891a5df10c 100644 --- a/plugins/poll/assets/javascripts/widgets/discourse-poll.js.es6 +++ b/plugins/poll/assets/javascripts/widgets/discourse-poll.js.es6 @@ -644,7 +644,7 @@ function pieChartConfig(data, labels, opts = {}) { options: { responsive: true, aspectRatio, - animation: { duration: 400 }, + animation: { duration: 0 }, legend: { display: false }, legendCallback: function(chart) { let legends = "";