chore: add import sort plugin, sort imports
This commit is contained in:
1 parent
cc4697efbc
commit
8a964d0a6a
59 files changed
+300
-263
No files matched your search
@@ -1,9 +1,9 @@
|
||||
<script lang="ts">
|
||||
import cursor_default from '$assets/cursor.png';
|
||||
import cursor_additive from '$assets/cursor-additive.png';
|
||||
import cursor_default from '$assets/cursor.png';
|
||||
import { cursorSmoothness } from '@/userSettings';
|
||||
import { animate } from 'animejs';
|
||||
import { onMount } from 'svelte';
|
||||
import { cursorSmoothness } from '@/userSettings';
|
||||
|
||||
let { smoothCursor = true }: { smoothCursor?: boolean } = $props();
|
||||
|
||||
@@ -101,7 +101,7 @@
|
||||
duration: smoothCursor ? $cursorSmoothness : 0,
|
||||
translateX: mouseX,
|
||||
translateY: mouseY,
|
||||
ease: (t: number) => t === 1 ? 1 : 1 - Math.pow(2, -10 * t),
|
||||
ease: (t: number) => (t === 1 ? 1 : 1 - Math.pow(2, -10 * t)),
|
||||
});
|
||||
|
||||
animate(cursor, {
|
||||
@@ -203,4 +203,4 @@
|
||||
:global(html.hiddenCursor textarea) {
|
||||
cursor: none !important;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
Reference in new issue
Block a user