From 73f0a6b6999ca6a49b7adbfdbca3a9d11acf7283 Mon Sep 17 00:00:00 2001 From: pissang Date: Mon, 8 Jun 2020 14:52:55 +0800 Subject: [PATCH] fix(type): prefer rotate over rotation in label configuration --- src/util/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/types.ts b/src/util/types.ts index 7c7228ab1..94cf6d404 100644 --- a/src/util/types.ts +++ b/src/util/types.ts @@ -862,7 +862,7 @@ export interface LabelLayoutOption { * offset on y based on the original position. */ dy?: number - rotation?: number + rotate?: number align?: ZRTextAlign verticalAlign?: ZRTextVerticalAlign width?: number -- GitLab