pull/3122/head
Andrew Bauer 2021-01-02 12:06:02 -06:00 committed by Isaac Connor
parent b95f1baa96
commit 6f78b5a105
1 changed files with 19 additions and 20 deletions

View File

@ -294,7 +294,6 @@ function updateZoneImage() {
var style = imageFrame.currentStyle || window.getComputedStyle(imageFrame); var style = imageFrame.currentStyle || window.getComputedStyle(imageFrame);
var padding_left = parseInt(style.paddingLeft); var padding_left = parseInt(style.paddingLeft);
var padding_right = parseInt(style.paddingRight); var padding_right = parseInt(style.paddingRight);
var scale = (imageFrame.clientWidth - ( padding_left + padding_right )) / maxX;
var SVG = document.getElementById('zoneSVG'); var SVG = document.getElementById('zoneSVG');
var Poly = document.getElementById('zonePoly'); var Poly = document.getElementById('zonePoly');
Poly.points.clear(); Poly.points.clear();