Commit bcb9280c authored by patientayo's avatar patientayo Committed by ι™ˆεΈ…

fix: waterwave doesn't render when precent=0

parent 27a2353c
...@@ -40,7 +40,7 @@ export default class WaterWave extends PureComponent { ...@@ -40,7 +40,7 @@ export default class WaterWave extends PureComponent {
const data = percent / 100; const data = percent / 100;
const self = this; const self = this;
if (!this.node || !data) { if (!this.node || (data !== 0 && !data)) {
return; return;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment