-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix RTL language causes misalignment of slider labels, #4904
This commit will: - Add outlets for speed slider labels and other components to the QuickSettingViewController class - Add outlets for constraints controlling the position of speed slider labels to the QuickSettingViewController class - Add methods awakeFromNib, calculateSliderLabelMultiplier and viewWillLayout to the QuickSettingViewController class to replace constraints when in a right to left layout - Add a convertSpeedToSliderValue method to the QuickSettingViewController class to eliminate duplication of a formula These changes cause IINA to replace the layout constraints that control the position of the labels under the speed slider in the video panel that identify the speed associated with particular slider tick marks with constraints that properly position the slider labels when the user interface layout direction is right to left.
- Loading branch information
Showing
2 changed files
with
117 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters