show corner of groups

This commit is contained in:
tamat
2018-09-17 20:29:28 +02:00
parent 15113ce7f8
commit c24277e0c4
3 changed files with 6 additions and 6 deletions

View File

@@ -5869,7 +5869,7 @@ LGraphCanvas.prototype.drawGroups = function(canvas, ctx)
var size = group._size;
ctx.globalAlpha = 0.25;
ctx.beginPath();
ctx.rect( pos[0], pos[1], size[0], size[1] );
ctx.rect( pos[0] + 0.5, pos[1] + 0.5, size[0], size[1] );
ctx.fill();
ctx.globalAlpha = 1;
ctx.stroke();
@@ -6678,7 +6678,7 @@ LGraphCanvas.onMenuNodeColors = function( value, options, e, menu, node )
delete node.color;
delete node.bgcolor;
}
node.setDirtyCanvas(true);
node.setDirtyCanvas(true,true);
}
return false;