-
-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes: - Settings are properly saved - Hiding a source will now move it to the bottom of the source list - Fix wordcount for Chinese characters - plugin should properly unload
- Loading branch information
Showing
13 changed files
with
132 additions
and
152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<script lang="ts"> | ||
export let dragDisabled: boolean; | ||
export let startDrag: (ev: MouseEvent | TouchEvent) => void; | ||
export let handleKeyDown: (ev: KeyboardEvent) => void; | ||
</script> | ||
|
||
<div | ||
aria-label="Drag to rearrange" | ||
style={dragDisabled ? "cursor: grab" : "cursor: grabbing"} | ||
class="handle" | ||
on:mousedown={startDrag} | ||
on:touchstart={startDrag} | ||
on:keydown={handleKeyDown} | ||
> | ||
<svg | ||
fill="none" | ||
height="32" | ||
viewBox="0 0 17 32" | ||
width="17" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<circle cx="3.13232" cy="3.64536" r="3" fill="currentColor" /> | ||
<circle cx="13.167" cy="3.64536" r="3" fill="currentColor" /> | ||
<circle cx="3.13232" cy="15.8953" r="3" fill="currentColor" /> | ||
<circle cx="13.167" cy="15.8953" r="3" fill="currentColor" /> | ||
<circle cx="3.13232" cy="28.1452" r="3" fill="currentColor" /> | ||
<circle cx="13.167" cy="28.1452" r="3" fill="currentColor" /> | ||
</svg> | ||
</div> | ||
|
||
<style> | ||
.handle { | ||
color: var(--background-modifier-border); | ||
height: 16px; | ||
margin-right: 8px; | ||
width: 16px; | ||
} | ||
:global(.active) .handle { | ||
color: var(--text-accent-hover); | ||
} | ||
.handle svg { | ||
width: 16px; | ||
height: 16px; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.