tangled
alpha
login
or
join now
tokono.ma
/
diffuse
5
fork
atom
A music player that connects to your cloud/distributed storage.
5
fork
atom
overview
issues
4
pulls
pipelines
fix: add missing $hasEnded action
Steven Vandevelde
3 months ago
1bf8226e
bdfcce3f
+2
1 changed file
expand all
collapse all
unified
split
src
components
engine
audio
element.js
+2
src/components/engine/audio/element.js
···
57
57
seek: { strategy: "leaderOnly", fn: this.seek },
58
58
supply: { strategy: "replicate", fn: this.supply },
59
59
60
60
+
setHasEnded: { strategy: "replicate", fn: this.$hasEnded.set },
60
61
setIsPlaying: { strategy: "replicate", fn: this.$isPlaying.set },
61
62
},
62
63
);
···
68
69
this.seek = actions.seek;
69
70
this.supply = actions.supply;
70
71
72
72
+
this.$hasEnded.set = actions.setHasEnded;
71
73
this.$isPlaying.set = actions.setIsPlaying;
72
74
}
73
75
}