diff --git a/js/technical/particleSystem.js b/js/technical/particleSystem.js index d84dbd2..ba5a4b8 100644 --- a/js/technical/particleSystem.js +++ b/js/technical/particleSystem.js @@ -10,7 +10,7 @@ function makeParticles(data, amount=1, type = "normal") { switch(thing) { case 'onClick': // Functions that should be copied over - case 'onMouseOver': + case 'onMouseEnter': case 'onMouseLeave': case 'update': particle[thing] = data[thing] diff --git a/js/technical/systemComponents.js b/js/technical/systemComponents.js index 867eebb..fcc77c8 100644 --- a/js/technical/systemComponents.js +++ b/js/technical/systemComponents.js @@ -199,7 +199,7 @@ var systemComponents = { 'particle': { props: ['data', 'index'], template: `
+ v-on:click="run(data.onClick, data)" v-on:mouseenter="run(data.onMouseEnter, data)" v-on:mouseleave="run(data.onMouseLeave, data)" >