You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My guess is that this piece of code used to work in older macOS version, but due to macOS UI updates, the offset (or width of the slider) changes, so it broke the UI. Manually subtracting 2 from constraint.constant seems fix the problem, but that introduces even more magic numbers.
Steps to reproduce:
Open quicksettingview and navigate to the related pages.
MPV does not have this problem.
How often does this happen?
Always.
The text was updated successfully, but these errors were encountered:
System and IINA version:
Expected behavior:
Numbers are centered to the knob in the slides.
Actual behavior:
Numbers are not centered. This is more obvious when the strings are short. Example:
This also effects other 2 sliders for delay:
Corresponding code for generating the constraint:
iina/iina/QuickSettingViewController.swift
Lines 573 to 579 in 18d4205
My guess is that this piece of code used to work in older macOS version, but due to macOS UI updates, the offset (or width of the slider) changes, so it broke the UI. Manually subtracting 2 from
constraint.constant
seems fix the problem, but that introduces even more magic numbers.Steps to reproduce:
Open quicksettingview and navigate to the related pages.
How often does this happen?
Always.
The text was updated successfully, but these errors were encountered: