United enum classes of arc directions into single enum class.

This commit is contained in:
23rd 2021-01-30 13:26:46 +03:00 committed by John Preston
parent 57ca6e23b9
commit 2dd99a535c
2 changed files with 2 additions and 2 deletions

View File

@ -194,7 +194,7 @@ private:
st::groupCallStatusSpeakerArcsAnimation,
kSpeakerThreshold,
volume,
Ui::Paint::ArcsAnimation::HorizontalDirection::Right)) {
Ui::Paint::ArcsAnimation::Direction::Right)) {
}
const style::icon &speaker;
const std::unique_ptr<Ui::Paint::ArcsAnimation> arcs;

View File

@ -64,7 +64,7 @@ MenuVolumeItem::MenuVolumeItem(
st::groupCallSpeakerArcsAnimation,
kSpeakerThreshold,
_localMuted ? 0. : (startVolume / float(maxVolume)),
Ui::Paint::ArcsAnimation::HorizontalDirection::Right)) {
Ui::Paint::ArcsAnimation::Direction::Right)) {
initResizeHook(parent->sizeValue());
enableMouseSelecting();