Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Clock display #498

Open
wants to merge 11 commits into
base: alpha
Choose a base branch
from
Open

[WIP] Clock display #498

wants to merge 11 commits into from

Conversation

funwithtriangles
Copy link
Member

@funwithtriangles funwithtriangles commented Feb 21, 2025

Displays BPM with controls under the viewer. Still need to:

  • Tidy up how the BPM edit works
  • nice hover/focus state for BPM to show its editable
  • maybe use input instead of contenteditable
  • submit on ENTER
  • all buttons as a row on bottom?
  • pause / play as toggle, stop as separate?

clock.bpm = bpm
}

export const GlobalClock = () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I kind of ran into this with my midi work, Feel like it would be good if a packages ui etc lived in the package so all the code stays contained, easy to upgrade/switch package versions.

I tried making a quick plugin system, but feel into an issue with hooks, maybe you might have a better idea for how to get the tsx living in the subpackage. I made a pr into my working midi branch showing the changes, I'll highlight the code of note cale-bradbury#9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants