This commit is contained in:
jomjol
2020-09-07 11:31:50 +02:00
parent 341e9f1593
commit f81f0fa58b
6 changed files with 22 additions and 65 deletions

View File

@@ -152,9 +152,6 @@ function ChangeSelection(){
function SaveToConfig(){
SaveROIToConfig(ROIInfo, "[Digits]", basepath);
// location.reload();
// parent.window.location.reload(true);
// window.location = location.href + '?session=' + Math.floor((Math.random() * 1000000) + 1);
UpdatePage();
}
@@ -220,6 +217,7 @@ function ParseIni(_basepath) {
canvas.width = this.width;
canvas.height = this.height;
drawImage();
draw();
};
imageObj.src = dataURL;
@@ -249,6 +247,7 @@ function ParseIni(_basepath) {
loadCanvas(basepath + "/fileserver/config/reference.jpg");
ParseIni(basepath);
drawImage();
draw();
}
function drawImage(){
var canvas = document.getElementById('canvas');