From 571d929fcb7fcefe4c9cd0aefafee49ed8e18f58 Mon Sep 17 00:00:00 2001 From: Lars Saalbach Date: Sat, 30 Nov 2024 23:51:52 +0100 Subject: [PATCH] Disable draw a target line, because it does hard performance issues --- .../brews/brew-brewing-graph/brew-brewing-graph.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/brews/brew-brewing-graph/brew-brewing-graph.component.ts b/src/components/brews/brew-brewing-graph/brew-brewing-graph.component.ts index ddf70640..47596285 100644 --- a/src/components/brews/brew-brewing-graph/brew-brewing-graph.component.ts +++ b/src/components/brews/brew-brewing-graph/brew-brewing-graph.component.ts @@ -720,6 +720,8 @@ export class BrewBrewingGraphComponent implements OnInit { } public drawTargetWeight(_targetWeight: number) { + /**We disabled this function right now, sadly it does performance-harm, you can't toggle buttons anymore in a performant way**/ + return; if ( this.brewComponent?.brewBrewingPreparationDeviceEl?.getPreparationDeviceType() === PreparationDeviceType.SANREMO_YOU ||