Disable name marquee scrolling whenever local video is open

The marquee is distracting, and doubly so during a video call.

Plus because of the local video frame, the space is so small that
marqueeing will be enabled even for relatively short names on small
devices.

Also, at the point you enable local video - presumably you already know
who's on the other end.

// FREEBIE
pull/1/head
Michael Kirk 8 years ago committed by Matthew Chen
parent 0ec2ac862a
commit 643f583fa6

@ -742,6 +742,9 @@ class CallViewController: OWSViewController, CallObserver, CallServiceObserver,
return
}
// Marquee scrolling is distractingn during a video call, disable it.
contactNameLabel.labelize = call.hasLocalVideo
audioModeMuteButton.isSelected = call.isMuted
videoModeMuteButton.isSelected = call.isMuted
audioModeVideoButton.isSelected = call.hasLocalVideo

Loading…
Cancel
Save