pull/40/head
Kai Labusch 5 years ago
parent 16309d8b78
commit 718cfbafee

@ -41,7 +41,7 @@ function loadFile(evt, onComplete) {
escapeChar: String.fromCharCode(0), escapeChar: String.fromCharCode(0),
comments: "#", comments: "#",
skipEmptyLines: true, skipEmptyLines: true,
dynamicTyping: true, dynamicTyping: false,
complete: function(results) { onComplete(results, file, urls); } complete: function(results) { onComplete(results, file, urls); }
}); });
} }
@ -130,10 +130,10 @@ function setupInterface(data, file, urls) {
if (img_url == "http://empty") if (img_url == "http://empty")
return return
let left = data.data[nRow]['left']; let left = parseInt(data.data[nRow]['left']);
let right = data.data[nRow]['right']; let right = parseInt(data.data[nRow]['right']);
let top = data.data[nRow]['top']; let top = parseInt(data.data[nRow]['top']);
let bottom = data.data[nRow]['bottom']; let bottom = parseInt(data.data[nRow]['bottom']);
top = Math.max(0, top - 25); top = Math.max(0, top - 25);
bottom = bottom + 25; bottom = bottom + 25;

Loading…
Cancel
Save