From 0f6c7fb651daa2f85af3a25ab4eecd0c30d941da Mon Sep 17 00:00:00 2001 From: Toby Dylan Hocking Date: Thu, 16 Nov 2023 16:58:47 +0000 Subject: [PATCH] fill_off defaults to fill when fill_off_comes_from not specified --- inst/htmljs/animint.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inst/htmljs/animint.js b/inst/htmljs/animint.js index 53f42f468..d77109c3a 100644 --- a/inst/htmljs/animint.js +++ b/inst/htmljs/animint.js @@ -1477,6 +1477,8 @@ var animint = function (to_select, json_file) { } if (g_info.params.hasOwnProperty(fill_off_comes_from)) { fill_off = g_info.params[fill_off_comes_from]; + }else{ + fill_off = fill; } if(aes.hasOwnProperty(fill_comes_from)){ get_fill = get_attr(fill_comes_from);