@easyv/charts 1.5.0 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -376,7 +376,7 @@ var Chart = /*#__PURE__*/(0, _react.memo)(function (_ref) {
|
|
|
376
376
|
cancelAnimationFrame(controlTimer.current);
|
|
377
377
|
};
|
|
378
378
|
}
|
|
379
|
-
}, [JSON.stringify(animation), control,
|
|
379
|
+
}, [JSON.stringify(animation), control, cWidth, cHeight, cBarWidth, cPercent]); //初始化控制图提示框状态的函数
|
|
380
380
|
|
|
381
381
|
var initCtlTip = function initCtlTip() {
|
|
382
382
|
return {
|
package/package.json
CHANGED
|
@@ -317,7 +317,7 @@ const Chart = memo(
|
|
|
317
317
|
cancelAnimationFrame(controlTimer.current);
|
|
318
318
|
};
|
|
319
319
|
}
|
|
320
|
-
}, [JSON.stringify(animation), control,
|
|
320
|
+
}, [JSON.stringify(animation), control, cWidth, cHeight, cBarWidth, cPercent]);
|
|
321
321
|
//初始化控制图提示框状态的函数
|
|
322
322
|
const initCtlTip = ()=>{
|
|
323
323
|
return {
|