diff --git a/js/core.js b/js/core.js index afe9e51..4388faf 100644 --- a/js/core.js +++ b/js/core.js @@ -470,6 +470,9 @@ async function init_svg_controller(model) { svgContainer.innerHTML = svgContent; + // Reset trackpad bounding box so it's recalculated for the new SVG + trackpadBbox = undefined; + const lightBlue = '#7ecbff'; const midBlue = '#3399cc'; const dualshock = document.getElementById('Controller');