Skip to content

Commit

Permalink
docs: code reformated post eslint processing
Browse files Browse the repository at this point in the history
  • Loading branch information
orefalo committed Jun 9, 2024
1 parent 744a82b commit 58120e7
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
9 changes: 6 additions & 3 deletions src/comp/Button.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,12 @@
const debounce = () => {
clearTimeout(timer);
timer = setTimeout(() => {
ripples.clear();
}, speed + speed * 2);
timer = setTimeout(
() => {
ripples.clear();
},
speed + speed * 2
);
};
let touch: boolean;
Expand Down
4 changes: 2 additions & 2 deletions src/lib/Splitpanes.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@
? {
onPaneAdd,
onPaneRemove
}
}
: undefined
});
Expand Down Expand Up @@ -244,7 +244,7 @@
}
const paneForward =
<T>(cb: (value: T, pane: IPane) => void, includingFirst = true) =>
<T,>(cb: (value: T, pane: IPane) => void, includingFirst = true) =>
(value: T) => {
if (includingFirst || pane.index > 0) {
cb(value, pane);
Expand Down
8 changes: 6 additions & 2 deletions src/routes/ToggleButton.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,12 @@
left: 2px;
border-radius: 50%;
background: white;
box-shadow: 0 0px 1px rgba(0, 0, 0, 0.4), 0 4px 2px rgba(0, 0, 0, 0.1);
transition: background 0.2s ease-out, left 0.2s ease-out;
box-shadow:
0 0px 1px rgba(0, 0, 0, 0.4),
0 4px 2px rgba(0, 0, 0, 0.1);
transition:
background 0.2s ease-out,
left 0.2s ease-out;
}
button[aria-pressed='true']::after {
Expand Down

0 comments on commit 58120e7

Please sign in to comment.