| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 40f8418 commit ffef09b
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ | |||
| 3 | 3 | * @Author: zk | |
| 4 | 4 | * @Date: 2022-03-23 10:02:49 | |
| 5 | 5 | * @LastEditors: zk | |
| 6 | - * @LastEditTime: 2022-06-30 15:52:51 | ||
| 6 | + * @LastEditTime: 2022-07-07 10:43:16 | ||
| 7 | 7 | */ | |
| 8 | 8 | import { AnimationUtil } from '../utils/AnimationUtil'; | |
| 9 | 9 | import { easingFunc } from '../utils/Easing'; | |
@@ -283,13 +283,12 @@ export default class PlotBaseAnimation { | |||
| 283 | 283 | return false; | |
| 284 | 284 | } | |
| 285 | 285 | resetGeometryStatus() { | |
| 286 | - this.render(0.000001); | ||
| 286 | + // this.render(0.000001); | ||
| 287 | 287 | } | |
| 288 | 288 | updateGeometry() { | |
| 289 | 289 | if (this._updateGeometry) { | |
| 290 | 290 | this._updateGeometry = false; | |
| 291 | - this.update(); | ||
| 292 | - // this.render(0.00001); | ||
| 291 | + this.update() | ||
| 293 | 292 | } | |
| 294 | 293 | } | |
| 295 | 294 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ | |||
| 3 | 3 | * @Author: zk | |
| 4 | 4 | * @Date: 2022-03-23 10:02:49 | |
| 5 | 5 | * @LastEditors: zk | |
| 6 | - * @LastEditTime: 2022-06-30 12:09:04 | ||
| 6 | + * @LastEditTime: 2022-07-07 10:53:14 | ||
| 7 | 7 | */ | |
| 8 | 8 | import Point from '../../../../../PlotUtilBase/Geometry/Point'; | |
| 9 | 9 | import Spline from '../../../../../PlotUtilBase/Geometry/Spline'; | |
@@ -128,6 +128,11 @@ export default class PlotGrowAnimation extends PlotCoordsAnimation { | |||
| 128 | 128 | this._centerAction(rate); | |
| 129 | 129 | } | |
| 130 | 130 | } | |
| 131 | + | ||
| 132 | + resetGeometryStatus() { | ||
| 133 | + this.render(0.001); | ||
| 134 | + } | ||
| 135 | + | ||
| 131 | 136 | render(rate) { | |
| 132 | 137 | this._render(rate); | |
| 133 | 138 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ | |||
| 3 | 3 | * @Author: zk | |
| 4 | 4 | * @Date: 2022-03-23 11:53:45 | |
| 5 | 5 | * @LastEditors: zk | |
| 6 | - * @LastEditTime: 2022-07-06 12:05:37 | ||
| 6 | + * @LastEditTime: 2022-07-07 11:50:08 | ||
| 7 | 7 | */ | |
| 8 | 8 | import { Zondy } from '../../../common'; | |
| 9 | 9 | import { AnimationReg } from '../AnimationTypes'; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments