mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-12-27 07:21:08 +01:00
more linting
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user