From da021a177eb7313face7e4fd519cbfdd7400866d Mon Sep 17 00:00:00 2001 From: Braeden Date: Sun, 27 Oct 2024 17:37:05 -0400 Subject: [PATCH] fix: Refix Previous --- js/technical/particleSystem.js | 2 +- js/technical/systemComponents.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)" >