more linting

This commit is contained in:
Dave Conway-Jones
2025-08-26 17:34:29 +01:00
parent ffc14d0439
commit 900917b9d7
11 changed files with 17 additions and 26 deletions

View File

@@ -102,7 +102,7 @@ module.exports = function(RED) {
else {
//not enought room above imagebox, put label on the bottom
if (y < 0 + (20+((defaultLineWidth*0.5)+(Number(defaultFontSize))))) {
y = y + (10+h+(((defaultLineWidth*0.5)+(Number(defaultFontSize)))));
y = y + (10+h+((defaultLineWidth*0.5)+(Number(defaultFontSize))));
ctx.textBaseline = "bottom";
}
//else put the label on the top