mirror of
https://github.com/rommapp/romm.git
synced 2026-12-04 21:02:21 +01:00
fixed mandatory aspect-ratio on game card
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
<script setup lang="ts">
|
||||
import storeGalleryFilter, { type FilterType } from "@/stores/galleryFilter";
|
||||
import type { DetailedRom } from "@/stores/roms";
|
||||
import storeGalleryView from "@/stores/galleryView";
|
||||
import { ref } from "vue";
|
||||
import { useDisplay } from "vuetify";
|
||||
import { useRouter } from "vue-router";
|
||||
@@ -10,7 +9,6 @@ import { useRouter } from "vue-router";
|
||||
const props = defineProps<{ rom: DetailedRom }>();
|
||||
const { xs } = useDisplay();
|
||||
const show = ref(false);
|
||||
const galleryViewStore = storeGalleryView();
|
||||
const carousel = ref(0);
|
||||
const router = useRouter();
|
||||
const filters = ["genres", "franchises", "collections", "companies"] as const;
|
||||
|
||||
@@ -16,7 +16,7 @@ import { useTheme } from "vuetify";
|
||||
const props = withDefaults(
|
||||
defineProps<{
|
||||
rom: SimpleRom | SearchRomSchema;
|
||||
aspectRatio: number;
|
||||
aspectRatio?: number;
|
||||
transformScale?: boolean;
|
||||
titleOnHover?: boolean;
|
||||
showFlags?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user