]> Repos - mime-chat/commitdiff
inputItem bug fixes
authorAndrew Gundersen <gundersena@xavier.edu>
Fri, 5 Mar 2021 15:40:36 +0000 (09:40 -0600)
committerAndrew Gundersen <gundersena@xavier.edu>
Fri, 5 Mar 2021 15:40:36 +0000 (09:40 -0600)
src/components/inputItem.vue

index 99bc6e79b8f77bf7cf63528b47c46ad992c1b060..91819899eff91b7d43e4c9e3d12a37f120243c61 100644 (file)
@@ -16,8 +16,8 @@ export default defineComponent({
   setup() {
 
     // Cords of inputItem.
-    let inputItemX = ref(0)
-    let inputItemY = ref(0)
+    const inputItemX = ref(0)
+    const inputItemY = ref(0)
 
     // Position of inputItem on terms of percentage of window.
     let percentX: number