Skip to content

Commit

Permalink
switch edit button order to match entry buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
fa-sharp committed Oct 26, 2024
1 parent 681cd71 commit 402aa08
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions packages/react/src/components/editor/EditorControls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,18 @@ export default function EditorControls() {
>
<EditorControlIcon icon={Icon.Natural} size={iconSize} />
</button>
<button
title="Toggle tied note"
role="switch"
aria-checked={selectedNote?.data?.tied}
className={clsx(styles.iconButton, {
[styles.selected]: selectedNote?.data?.tied,
})}
disabled={!selectedNote?.data || selectedNote.data.rest}
onClick={onToggleTie}
>
<EditorControlIcon icon={Icon.Tie} size={iconSize} />
</button>
<button
title="Toggle beamed note"
role="switch"
Expand All @@ -293,18 +305,6 @@ export default function EditorControls() {
>
<EditorControlIcon icon={Icon.Beaming} size={iconSize} />
</button>
<button
title="Toggle tied note"
role="switch"
aria-checked={selectedNote?.data?.tied}
className={clsx(styles.iconButton, {
[styles.selected]: selectedNote?.data?.tied,
})}
disabled={!selectedNote?.data || selectedNote.data.rest}
onClick={onToggleTie}
>
<EditorControlIcon icon={Icon.Tie} size={iconSize} />
</button>
<div className={styles.spacer}></div>
<button
title="Backspace"
Expand Down

0 comments on commit 402aa08

Please sign in to comment.