refactor: simplify zoom by removing zoom.translation (#4477)

This commit is contained in:
David Luzar
2022-01-29 21:12:44 +01:00
committed by GitHub
parent e4edda4555
commit 79d323fab1
16 changed files with 152 additions and 408 deletions

View File

@ -155,10 +155,6 @@ export type NormalizedZoomValue = number & { _brand: "normalizedZoom" };
export type Zoom = Readonly<{
value: NormalizedZoomValue;
translation: Readonly<{
x: number;
y: number;
}>;
}>;
export type PointerCoords = Readonly<{