From 534dde670ed6e542e42d56201d5dbc5144ff8b52 Mon Sep 17 00:00:00 2001 From: isark Date: Thu, 17 Aug 2023 21:10:56 +0200 Subject: [PATCH] Fixed scaling a bit, should work better now --- src/app/plan-display/plan-display.component.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app/plan-display/plan-display.component.ts b/src/app/plan-display/plan-display.component.ts index 9fd3a1f..839fbc3 100644 --- a/src/app/plan-display/plan-display.component.ts +++ b/src/app/plan-display/plan-display.component.ts @@ -202,8 +202,11 @@ export class PlanDisplayComponent implements AfterViewInit, OnInit { sumWidth / bounds.width, sumHeight / bounds.height, ) + + for (let child of children) { + child.style.transform = `scale(1, ${scale})`; + } - noteSlide.ref.nativeElement.style.transform = `scale(1, ${scale})`; } settingsClick(event: any) {