Skip to content

fix: don't use stale zoom values and reduce redundancy#521

Merged
Samillion merged 1 commit intomainfrom
fix_zoom_redundancy
Mar 10, 2026
Merged

fix: don't use stale zoom values and reduce redundancy#521
Samillion merged 1 commit intomainfrom
fix_zoom_redundancy

Conversation

@Samillion
Copy link
Copy Markdown
Owner

Changes:

  • Fix stale zoom values, each zoom event should call the video-zoom property directly
  • Remove unused playtime_nohour_force_init state
  • Reduce duration property calls for thumbnails
  • Remove unnecessary button element check for persistent progress bar, it's always a slider
  • Remove redundant checks that are already set in top_titlebar
  • Remove unnecessary or 0 for volume property, default is already set to 0
  • Remove state.touchtime = nil from mouse_leave() first line. This makes the branch right after it always false. Not sure why it was there in the first place
  • Reduce get_hidetimeout() calls in run_autohide()
  • Check state.active_element == nil once in run_autohide()

@Samillion Samillion merged commit ef74562 into main Mar 10, 2026
@Samillion Samillion deleted the fix_zoom_redundancy branch March 10, 2026 18:34
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.

1 participant