mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 01:58:41 +01:00
run trunk fmt
This commit is contained in:
@@ -68,10 +68,10 @@ const theme = computed(() => {
|
||||
class="w-full h-full object-cover"
|
||||
>
|
||||
<template #error>
|
||||
<fallback-system-card :platform-name="platform.name" />
|
||||
<FallbackSystemCard :platform-name="platform.name" />
|
||||
</template>
|
||||
</v-img>
|
||||
<fallback-system-card v-else :platform-name="platform.name" />
|
||||
<FallbackSystemCard v-else :platform-name="platform.name" />
|
||||
</div>
|
||||
<div
|
||||
class="absolute inset-0 opacity-0 pointer-events-none"
|
||||
|
||||
@@ -368,30 +368,30 @@ function scrollToCurrentRow() {
|
||||
|
||||
const behavior: ScrollBehavior = "smooth";
|
||||
switch (navigationMode.value) {
|
||||
case "systems":
|
||||
scrollContainerRef.value?.scrollTo({ top: 0, behavior });
|
||||
break;
|
||||
case "recent":
|
||||
recentSectionRef.value?.scrollIntoView({ behavior, block: "start" });
|
||||
break;
|
||||
case "collections":
|
||||
collectionsSectionRef.value?.scrollIntoView({
|
||||
behavior,
|
||||
block: "start",
|
||||
});
|
||||
break;
|
||||
case "smartCollections":
|
||||
smartCollectionsSectionRef.value?.scrollIntoView({
|
||||
behavior,
|
||||
block: "start",
|
||||
});
|
||||
break;
|
||||
case "virtualCollections":
|
||||
virtualCollectionsSectionRef.value?.scrollIntoView({
|
||||
behavior,
|
||||
block: "start",
|
||||
});
|
||||
break;
|
||||
case "systems":
|
||||
scrollContainerRef.value?.scrollTo({ top: 0, behavior });
|
||||
break;
|
||||
case "recent":
|
||||
recentSectionRef.value?.scrollIntoView({ behavior, block: "start" });
|
||||
break;
|
||||
case "collections":
|
||||
collectionsSectionRef.value?.scrollIntoView({
|
||||
behavior,
|
||||
block: "start",
|
||||
});
|
||||
break;
|
||||
case "smartCollections":
|
||||
smartCollectionsSectionRef.value?.scrollIntoView({
|
||||
behavior,
|
||||
block: "start",
|
||||
});
|
||||
break;
|
||||
case "virtualCollections":
|
||||
virtualCollectionsSectionRef.value?.scrollIntoView({
|
||||
behavior,
|
||||
block: "start",
|
||||
});
|
||||
break;
|
||||
}
|
||||
|
||||
setTimeout(() => {
|
||||
|
||||
Reference in New Issue
Block a user