@jimengio/echarts-autofit
Advanced tools
Comparing version 0.1.3-a3 to 0.1.3-a4
@@ -11,3 +11,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
import React from "react"; | ||
import { isEqual, isFunction, throttle } from "lodash-es"; | ||
import { isEqual, debounce, isFunction } from "lodash-es"; | ||
import { css, cx } from "emotion"; | ||
@@ -77,3 +77,3 @@ import ResizeObserver from "resize-observer-polyfill"; | ||
}; | ||
this.debouncedOnWindowResize = throttle(this.onWindowResize, 300); | ||
this.debouncedOnWindowResize = debounce(this.onWindowResize, 240); | ||
this._resizeObserver = new ResizeObserver((entries) => { | ||
@@ -80,0 +80,0 @@ this.debouncedOnWindowResize(); |
{ | ||
"name": "@jimengio/echarts-autofit", | ||
"version": "0.1.3-a3", | ||
"version": "0.1.3-a4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
263020
8