This commit is contained in:
ThatOneCalculator 2022-09-15 11:00:54 -07:00
parent 57c452f78e
commit 14cab46640
11 changed files with 17 additions and 12 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "calckey", "name": "calckey",
"version": "12.119.0-calc.1-rc", "version": "12.119.0-calc.1-rc.1",
"codename": "aqua", "codename": "aqua",
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -6,7 +6,7 @@
:modules="[Virtual]" :modules="[Virtual]"
:space-between="20" :space-between="20"
:virtual="true" :virtual="true"
:allow-touch-move="deviceKind === 'smartphone'" :allow-touch-move="!(deviceKind === 'desktop')"
@swiper="setSwiperRef" @swiper="setSwiperRef"
@slide-change="onSlideChange" @slide-change="onSlideChange"
> >

View File

@ -6,7 +6,7 @@
:modules="[Virtual]" :modules="[Virtual]"
:space-between="20" :space-between="20"
:virtual="true" :virtual="true"
:allow-touch-move="deviceKind === 'smartphone'" :allow-touch-move="!(deviceKind === 'desktop')"
@swiper="setSwiperRef" @swiper="setSwiperRef"
@slide-change="onSlideChange" @slide-change="onSlideChange"
> >

View File

@ -6,7 +6,7 @@
:modules="[Virtual]" :modules="[Virtual]"
:space-between="20" :space-between="20"
:virtual="true" :virtual="true"
:allow-touch-move="deviceKind === 'smartphone'" :allow-touch-move="!(deviceKind === 'desktop')"
@swiper="setSwiperRef" @swiper="setSwiperRef"
@slide-change="onSlideChange" @slide-change="onSlideChange"
> >

View File

@ -7,7 +7,7 @@
:modules="[Virtual]" :modules="[Virtual]"
:space-between="20" :space-between="20"
:virtual="true" :virtual="true"
:allow-touch-move="deviceKind === 'smartphone'" :allow-touch-move="!(deviceKind === 'desktop')"
@swiper="setSwiperRef" @swiper="setSwiperRef"
@slide-change="onSlideChange" @slide-change="onSlideChange"
> >
@ -62,7 +62,12 @@ const props = defineProps<{
const tabs = ['featured', 'users', 'search']; const tabs = ['featured', 'users', 'search'];
let tab = $ref('featured'); const tab = $computed({
get: () => tabs[0],
set: (x) => {
syncSlide(tabs.indexOf(x));
},
});
let tagsEl = $ref<InstanceType<typeof MkFolder>>(); let tagsEl = $ref<InstanceType<typeof MkFolder>>();
let searchQuery = $ref(null); let searchQuery = $ref(null);
let searchOrigin = $ref('combined'); let searchOrigin = $ref('combined');

View File

@ -6,7 +6,7 @@
:modules="[Virtual]" :modules="[Virtual]"
:space-between="20" :space-between="20"
:virtual="true" :virtual="true"
:allow-touch-move="deviceKind === 'smartphone'" :allow-touch-move="!(deviceKind === 'desktop')"
@swiper="setSwiperRef" @swiper="setSwiperRef"
@slide-change="onSlideChange" @slide-change="onSlideChange"
> >

View File

@ -6,7 +6,7 @@
:modules="[Virtual]" :modules="[Virtual]"
:space-between="20" :space-between="20"
:virtual="true" :virtual="true"
:allow-touch-move="deviceKind === 'smartphone'" :allow-touch-move="!(deviceKind === 'desktop')"
@swiper="setSwiperRef" @swiper="setSwiperRef"
@slide-change="onSlideChange" @slide-change="onSlideChange"
> >

View File

@ -13,7 +13,7 @@
:modules="[Virtual]" :modules="[Virtual]"
:space-between="20" :space-between="20"
:virtual="true" :virtual="true"
:allow-touch-move="deviceKind === 'smartphone'" :allow-touch-move="!(deviceKind === 'desktop')"
@swiper="setSwiperRef" @swiper="setSwiperRef"
@slide-change="onSlideChange" @slide-change="onSlideChange"
> >

View File

@ -6,7 +6,7 @@
:modules="[Virtual]" :modules="[Virtual]"
:space-between="20" :space-between="20"
:virtual="true" :virtual="true"
:allow-touch-move="deviceKind === 'smartphone'" :allow-touch-move="!(deviceKind === 'desktop')"
@swiper="setSwiperRef" @swiper="setSwiperRef"
@slide-change="onSlideChange" @slide-change="onSlideChange"
> >

View File

@ -40,7 +40,7 @@
:modules="[Virtual]" :modules="[Virtual]"
:space-between="20" :space-between="20"
:virtual="true" :virtual="true"
:allow-touch-move="deviceKind === 'smartphone'" :allow-touch-move="!(deviceKind === 'desktop')"
@swiper="setSwiperRef" @swiper="setSwiperRef"
@slide-change="onSlideChange" @slide-change="onSlideChange"
> >

View File

@ -6,7 +6,7 @@
:modules="[Virtual]" :modules="[Virtual]"
:space-between="20" :space-between="20"
:virtual="true" :virtual="true"
:allow-touch-move="deviceKind === 'smartphone'" :allow-touch-move="!(deviceKind === 'desktop')"
@swiper="setSwiperRef" @swiper="setSwiperRef"
@slide-change="onSlideChange" @slide-change="onSlideChange"
> >