United enum classes of arc directions into single enum class.
This commit is contained in:
parent
57ca6e23b9
commit
2dd99a535c
|
@ -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;
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue