File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
applet/src/modules/custom-inspector/components/timeline Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -6,5 +6,5 @@ const state = useCustomInspectorState()
66 </script >
77
88<template >
9- <Timeline :layer-ids =" state.timelineLayerIds!" :doc-link =" state.homepage!" :plugin-id =" state.pluginId" />
9+ <Timeline :layer-ids =" state.timelineLayerIds!" :doc-link =" state.homepage!" :plugin-id =" state.pluginId! " />
1010</template >
Original file line number Diff line number Diff line change @@ -27,8 +27,7 @@ const isDark = computed({
2727 set : v => mode .value = v ? ' dark' : ' light' ,
2828})
2929
30- // @ts-expect-error: Transition API
31- const isAppearanceTransition = document .startViewTransition
30+ const isAppearanceTransition = !! document .startViewTransition
3231 && ! window .matchMedia (' (prefers-reduced-motion: reduce)' ).matches
3332/**
3433 * Credit to [@hooray](https://github.com/hooray)
@@ -45,7 +44,6 @@ function toggle(event?: MouseEvent) {
4544 Math .max (x , innerWidth - x ),
4645 Math .max (y , innerHeight - y ),
4746 )
48- // @ts-expect-error: Transition API
4947 const transition = document .startViewTransition (async () => {
5048 isDark .value = ! isDark .value
5149 await nextTick ()
Original file line number Diff line number Diff line change 11<script setup lang="ts" generic =" Value extends number | string , Label , M extends boolean " >
22import type { ButtonProps } from ' ./Button.vue'
3- import { VClosePopper as vClosePopper } from ' floating-vue'
3+ import { vClosePopper } from ' floating-vue'
44import { computed , useSlots } from ' vue'
55import VueButton from ' ./Button.vue'
66import VueDropdown from ' ./Dropdown.vue'
You can’t perform that action at this time.
0 commit comments