Skip to content

Show what video frame is shown when hovering video in selection panel #7685

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

Merged
merged 3 commits into from
Oct 11, 2024

Conversation

emilk
Copy link
Member

@emilk emilk commented Oct 11, 2024

What

Screenshot 2024-10-11 at 09 12 23

Checklist

  • I have read and agree to Contributor Guide and the Code of Conduct
  • I've included a screenshot or gif (if applicable)
  • I have tested the web demo (if applicable):
  • The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG
  • If applicable, add a new check to the release checklist!
  • If have noted any breaking changes to the log API in CHANGELOG.md and the migration guide

To run all checks from main, comment on the PR with @rerun-bot full-check.

@emilk emilk added ui concerns graphical user interface exclude from changelog PRs with this won't show up in CHANGELOG.md 🎞️ video labels Oct 11, 2024
Comment on lines -30 to -36
let secs_int = n % 60;
let secs_hundredth = (timestamp_seconds.fract() * 100.0) as u32;
let secs = (n % 60) as f64 + timestamp_seconds.fract();

if hours > 0 {
format!("{hours:02}:{mins:02}:{secs_int:02}.{secs_hundredth:02}")
format!("{hours:02}:{mins:02}:{secs:02.02}")
} else {
format!("{mins:02}:{secs_int:02}.{secs_hundredth:02}")
Copy link
Member Author

Choose a reason for hiding this comment

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

While experimenting I wanted to bump up the number of decimals, and the new code makes that a lot easier

Copy link
Member

@Wumpf Wumpf left a comment

Choose a reason for hiding this comment

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

ah bit hidden but indeed useful for debugging!

@Wumpf Wumpf merged commit b248c88 into main Oct 11, 2024
37 checks passed
@Wumpf Wumpf deleted the emilk/show-actie-frame-on-hover branch October 11, 2024 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exclude from changelog PRs with this won't show up in CHANGELOG.md ui concerns graphical user interface 🎞️ video
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants