more linting

This commit is contained in:
Dave Conway-Jones
2025-08-26 17:58:21 +01:00
parent dded26cd88
commit e3020985b7
7 changed files with 16 additions and 17 deletions

View File

@@ -93,7 +93,7 @@ module.exports = function(RED) {
}
}
else if (annotation.labelLocation === "bottom") {
y = y + (10+h+(((defaultLineWidth*0.5)+(Number(defaultFontSize)))));
y = y + (10+h+((defaultLineWidth*0.5)+(Number(defaultFontSize))));
ctx.textBaseline = "bottom";
}

View File

@@ -2,11 +2,11 @@
module.exports = function(RED) {
"use strict";
function convertDegreesMinutesSecondsToDecimals(degrees, minutes, seconds) {
var result;
result = degrees + (minutes / 60) + (seconds / 3600);
return result;
}
// function convertDegreesMinutesSecondsToDecimals(degrees, minutes, seconds) {
// var result;
// result = degrees + (minutes / 60) + (seconds / 3600);
// return result;
// }
function ExifNode(n) {
RED.nodes.createNode(this,n);