1
0
Fork 0
mirror of https://github.com/Acamaeda/The-Modding-Tree.git synced 2024-11-21 16:13:55 +00:00

fix: Refix Previous

This commit is contained in:
Braeden 2024-10-27 17:37:05 -04:00
parent c0e70ef193
commit da021a177e
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@ function makeParticles(data, amount=1, type = "normal") {
switch(thing) { switch(thing) {
case 'onClick': // Functions that should be copied over case 'onClick': // Functions that should be copied over
case 'onMouseOver': case 'onMouseEnter':
case 'onMouseLeave': case 'onMouseLeave':
case 'update': case 'update':
particle[thing] = data[thing] particle[thing] = data[thing]

View file

@ -199,7 +199,7 @@ var systemComponents = {
'particle': { 'particle': {
props: ['data', 'index'], props: ['data', 'index'],
template: `<div><div class='particle instant' v-bind:style="[constructParticleStyle(data), data.style]" template: `<div><div class='particle instant' v-bind:style="[constructParticleStyle(data), data.style]"
v-on:click="run(data.onClick, data)" v-on:mouseenter="run(data.onMouseOver, data)" v-on:mouseleave="run(data.onMouseLeave, data)" ><span v-html="data.text"></span> v-on:click="run(data.onClick, data)" v-on:mouseenter="run(data.onMouseEnter, data)" v-on:mouseleave="run(data.onMouseLeave, data)" ><span v-html="data.text"></span>
</div> </div>
<svg version="2" v-if="data.color"> <svg version="2" v-if="data.color">
<mask v-bind:id="'pmask' + data.id"> <mask v-bind:id="'pmask' + data.id">