summaryrefslogtreecommitdiff
path: root/packages/frontend/src/pages/flash
diff options
context:
space:
mode:
Diffstat (limited to 'packages/frontend/src/pages/flash')
-rw-r--r--packages/frontend/src/pages/flash/flash-edit.vue2
-rw-r--r--packages/frontend/src/pages/flash/flash.vue8
2 files changed, 5 insertions, 5 deletions
diff --git a/packages/frontend/src/pages/flash/flash-edit.vue b/packages/frontend/src/pages/flash/flash-edit.vue
index b3e8e88c23..3d9de0584a 100644
--- a/packages/frontend/src/pages/flash/flash-edit.vue
+++ b/packages/frontend/src/pages/flash/flash-edit.vue
@@ -395,7 +395,7 @@ const {
});
const script = ref(flash.value?.script ?? PRESET_DEFAULT);
-function selectPreset(ev: MouseEvent) {
+function selectPreset(ev: PointerEvent) {
os.popupMenu([{
text: 'Omikuji',
action: () => {
diff --git a/packages/frontend/src/pages/flash/flash.vue b/packages/frontend/src/pages/flash/flash.vue
index f5e51dc72f..43a1e8e426 100644
--- a/packages/frontend/src/pages/flash/flash.vue
+++ b/packages/frontend/src/pages/flash/flash.vue
@@ -104,7 +104,7 @@ function fetchFlash() {
});
}
-function share(ev: MouseEvent) {
+function share(ev: PointerEvent) {
if (!flash.value) return;
const menuItems: MenuItem[] = [];
@@ -229,10 +229,10 @@ async function run() {
THIS_URL: values.STR(`${url}/play/${flash.value.id}`),
}, {
in: aiScriptReadline,
- out: (value) => {
+ out: () => {
// nop
},
- log: (type, params) => {
+ log: () => {
// nop
},
});
@@ -273,7 +273,7 @@ async function reportAbuse() {
});
}
-function showMenu(ev: MouseEvent) {
+function showMenu(ev: PointerEvent) {
if (!flash.value) return;
const menu: MenuItem[] = [