This commit is contained in:
ThatOneCalculator 2022-09-15 11:00:54 -07:00
parent 97ea3e3545
commit 512164211b
11 changed files with 17 additions and 12 deletions

View file

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

View file

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

View file

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

View file

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

View file

@ -7,7 +7,7 @@
:modules="[Virtual]"
:space-between="20"
:virtual="true"
:allow-touch-move="deviceKind === 'smartphone'"
:allow-touch-move="!(deviceKind === 'desktop')"
@swiper="setSwiperRef"
@slide-change="onSlideChange"
>
@ -62,7 +62,12 @@ const props = defineProps<{
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 searchQuery = $ref(null);
let searchOrigin = $ref('combined');

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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