cog/Window
Shoh Sewell 9c5a7d0e3e
Adds decimal digits to volume slider tooltip (#356)
* Adds decimal digits to volume slider tooltip

Modifies the volume slider tooltip so that:
-If the volume slider falls below 10%, the volume tooltip will display one decimal digit of precision (e.g. 3.4%).
-Else if the volume slider falls below 1%, display one decimal digit of precision (e.g. 0.34%).
-Otherwise display the volume slider tooltip as normal.

This helps show changes in volume between 0% and 10% where a change in volume isn't shown in the UI but is heard (especially when the "Limit volume control to 100%" option is unchecked in the "Output" Preferences submenu.

* Update VolumeSlider.m

Fix variable declaration

---------

Co-authored-by: Christopher Snowhill <chris@kode54.net>
2023-05-03 17:59:24 -07:00
..
AboutWindowController.swift
DraggableView.swift
DualWindow.h
DualWindow.m
MainWindow.h
MainWindow.m
MiniModeMenuTitleTransformer.h
MiniModeMenuTitleTransformer.m
MiniWindow.h
MiniWindow.m
PlaybackButtons.h
PlaybackButtons.m
PositionSlider.h
PositionSlider.m
PositionSliderToolbarItem.swift
RepeatTransformers.h
RepeatTransformers.m
ShuffleTransformers.h
ShuffleTransformers.m
TimeField.h
TimeField.m
VolumeButton.h
VolumeButton.m
VolumeSlider.h
VolumeSlider.m