fixes with roundrect

This commit is contained in:
tamat
2021-08-17 10:00:09 +02:00
parent f71aad4450
commit 136c627c3c
5 changed files with 12 additions and 12 deletions

View File

@@ -149,9 +149,9 @@
}
else {
if (overleft) {
ctx.roundRect(0, y, this.size[0] / 2 + 1, LiteGraph.NODE_TITLE_HEIGHT, 0, 8);
ctx.roundRect(0, y, this.size[0] / 2 + 1, LiteGraph.NODE_TITLE_HEIGHT, [0,0, 8,8]);
} else {
ctx.roundRect(this.size[0] / 2, y, this.size[0] / 2 + 1, LiteGraph.NODE_TITLE_HEIGHT, 0, 8);
ctx.roundRect(this.size[0] / 2, y, this.size[0] / 2 + 1, LiteGraph.NODE_TITLE_HEIGHT, [0,0, 8,8]);
}
}
if (over) {