mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-26 13:20:48 +00:00
Fix call More Options menu to not autohide
This commit is contained in:
@@ -263,14 +263,14 @@ export function CallScreen({
|
||||
}, [setLocalPreview, setRendererCanvas]);
|
||||
|
||||
useEffect(() => {
|
||||
if (!showControls || stickyControls || controlsHover) {
|
||||
if (!showControls || showMoreOptions || stickyControls || controlsHover) {
|
||||
return noop;
|
||||
}
|
||||
const timer = setTimeout(() => {
|
||||
setShowControls(false);
|
||||
}, 5000);
|
||||
return clearTimeout.bind(null, timer);
|
||||
}, [showControls, stickyControls, controlsHover]);
|
||||
}, [showControls, showMoreOptions, stickyControls, controlsHover]);
|
||||
|
||||
useEffect(() => {
|
||||
const handleKeyDown = (event: KeyboardEvent): void => {
|
||||
|
||||
Reference in New Issue
Block a user