You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by ov...@apache.org on 2021/10/08 04:56:35 UTC

[echarts] 01/01: fix: un-deprecate getTextRect #15823

This is an automated email from the ASF dual-hosted git repository.

ovilia pushed a commit to branch fix-getTextRect
in repository https://gitbox.apache.org/repos/asf/echarts.git

commit aecf2676ccffc59e41cdf868f227492b1b6b9324
Author: Ovilia <zw...@gmail.com>
AuthorDate: Fri Oct 8 12:54:44 2021 +0800

    fix: un-deprecate getTextRect #15823
---
 src/legacy/getTextRect.ts | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/legacy/getTextRect.ts b/src/legacy/getTextRect.ts
index d656baf..d8a9d36 100644
--- a/src/legacy/getTextRect.ts
+++ b/src/legacy/getTextRect.ts
@@ -31,8 +31,6 @@ export function getTextRect(
     truncate?: boolean,
     lineHeight?: number
 ) {
-    deprecateLog('getTextRect is deprecated.');
-
     const textEl = new Text({
         style: {
             text,

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org