chore: format
This commit is contained in:
@@ -32,18 +32,18 @@ const isTouchDevice = () =>
|
||||
|
||||
const windowSize = useWindowSize();
|
||||
|
||||
const isLargeEnough = computed(
|
||||
() => windowSize.width.value / windowSize.height.value > 614 / 667,
|
||||
watch(
|
||||
[windowSize.width, windowSize.height],
|
||||
([width, height]) => {
|
||||
if (width / height > 614 / 667) {
|
||||
if (app.booted) app.allowHints();
|
||||
} else {
|
||||
app.disallowHints();
|
||||
}
|
||||
},
|
||||
{ immediate: true },
|
||||
);
|
||||
|
||||
watch([windowSize.width, windowSize.height], ([width, height]) => {
|
||||
if (width / height > 614 / 667) {
|
||||
if (app.booted) app.allowHints();
|
||||
} else {
|
||||
app.disallowHints();
|
||||
}
|
||||
}, { immediate: true });
|
||||
|
||||
const helpButton = useTemplateRef("helpButton");
|
||||
let helpAnimation: gsap.core.Timeline | null = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user