feat: new chord button, fixes #9

feat: improved backups
This commit is contained in:
2023-11-10 17:31:52 +01:00
parent 034436f93e
commit e19a57efac
9 changed files with 177 additions and 70 deletions

View File

@@ -135,7 +135,7 @@
role="textbox"
tabindex="0"
bind:this={box}
class:edited={chord.phraseChanged}
class:edited={chord.phrase.length !== 0 && chord.phraseChanged}
on:focusin={() => (hasFocus = true)}
on:focusout={event => {
if (event.relatedTarget !== button) hasFocus = false
@@ -236,12 +236,13 @@
background: currentcolor;
transition:
opacity 250ms ease,
opacity 150ms ease,
scale 250ms ease;
}
&::after {
scale: 0 1;
transition-duration: 250ms;
}
&:hover::before {