From 36a8b1fea0ac7ba077406f01d706bcc272ac4bc9 Mon Sep 17 00:00:00 2001 From: Chenlei Hu Date: Fri, 4 Oct 2024 08:34:46 -0400 Subject: [PATCH] Don't draw badges when zoomed out (#192) --- src/LGraphCanvas.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/LGraphCanvas.ts b/src/LGraphCanvas.ts index 3185d4104..248b7fd38 100644 --- a/src/LGraphCanvas.ts +++ b/src/LGraphCanvas.ts @@ -4376,7 +4376,10 @@ export class LGraphCanvas { node.is_selected, node.mouseOver ); - node.drawBadges(ctx); + + if (!low_quality) { + node.drawBadges(ctx); + } ctx.shadowColor = "transparent";