Merge pull request #4570 from node-red/fix-icon-scaling

Fix missing node icons in workspace
This commit is contained in:
Nick O'Leary
2024-02-20 10:37:33 +00:00
committed by GitHub

View File

@@ -4156,7 +4156,7 @@ RED.view = (function() {
}
var width = img.width * scaleFactor;
if (width > 20) {
scalefactor *= 20/width;
scaleFactor *= 20/width;
width = 20;
}
var height = img.height * scaleFactor;