File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed
src/service/PlotBase/Animation
PlotExtendAnimation/PlotGrowAnimation Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 33 * @Author : zk
44 * @Date : 2022-03-23 10:02:49
55 * @LastEditors : zk
6- * @LastEditTime : 2022-06-30 15:52:51
6+ * @LastEditTime : 2022-07-07 10:43:16
77 */
88import { AnimationUtil } from '../utils/AnimationUtil' ;
99import { easingFunc } from '../utils/Easing' ;
@@ -283,13 +283,12 @@ export default class PlotBaseAnimation {
283283 return false ;
284284 }
285285 resetGeometryStatus ( ) {
286- this . render ( 0.000001 ) ;
286+ // this.render(0.000001);
287287 }
288288 updateGeometry ( ) {
289289 if ( this . _updateGeometry ) {
290290 this . _updateGeometry = false ;
291- this . update ( ) ;
292- // this.render(0.00001);
291+ this . update ( )
293292 }
294293 }
295294}
Original file line number Diff line number Diff line change 33 * @Author : zk
44 * @Date : 2022-03-23 10:02:49
55 * @LastEditors : zk
6- * @LastEditTime : 2022-06-30 12:09:04
6+ * @LastEditTime : 2022-07-07 10:53:14
77 */
88import Point from '../../../../../PlotUtilBase/Geometry/Point' ;
99import Spline from '../../../../../PlotUtilBase/Geometry/Spline' ;
@@ -128,6 +128,11 @@ export default class PlotGrowAnimation extends PlotCoordsAnimation {
128128 this . _centerAction ( rate ) ;
129129 }
130130 }
131+
132+ resetGeometryStatus ( ) {
133+ this . render ( 0.001 ) ;
134+ }
135+
131136 render ( rate ) {
132137 this . _render ( rate ) ;
133138 }
Original file line number Diff line number Diff line change 33 * @Author : zk
44 * @Date : 2022-03-23 11:53:45
55 * @LastEditors : zk
6- * @LastEditTime : 2022-07-06 12:05:37
6+ * @LastEditTime : 2022-07-07 11:50:08
77 */
88import { Zondy } from '../../../common' ;
99import { AnimationReg } from '../AnimationTypes' ;
You can’t perform that action at this time.
0 commit comments