diff --git a/pandora/config.0xdb.jsonc b/pandora/config.0xdb.jsonc index c78dd7cc..a4b43757 100644 --- a/pandora/config.0xdb.jsonc +++ b/pandora/config.0xdb.jsonc @@ -325,7 +325,7 @@ "title": "Mainstream Score", "type": "float", "columnWidth": 60, - "format": {"type": "unit", "args": ["%", 1]}, + "format": {"type": "ColorPercent", "args": [1, true]}, "sort": true }, { @@ -333,7 +333,7 @@ "title": "Arthouse Score", "type": "float", "columnWidth": 60, - "format": {"type": "unit", "args": ["%", 1]}, + "format": {"type": "ColorPercent", "args": [1, true]}, "sort": true }, { diff --git a/static/js/pandora/infoView.0xdb.js b/static/js/pandora/infoView.0xdb.js index b1c00c6c..5f0dd9c4 100644 --- a/static/js/pandora/infoView.0xdb.js +++ b/static/js/pandora/infoView.0xdb.js @@ -462,7 +462,7 @@ pandora.ui.infoView = function(data) { .css({marginBottom: '4px'}) .append(formatKey(key == 'votes' ? 'Mainstream Score' : 'Arthouse Score'), true) .append( - Ox.Theme.formatColor(value * 1.2, 'hue') + Ox.Theme.formatColor(Math.sqrt(value) * 12, 'hue') .css({textAlign: 'right'}) .html(Ox.formatNumber(value, 1) + '%') )