disable pointer events on hidden menus in zen mode (#1511)

This commit is contained in:
David Luzar 2020-04-29 22:49:36 +02:00 committed by GitHub
parent 0c2aa951d6
commit 51f8146357
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 28 additions and 8 deletions

View file

@ -46,7 +46,7 @@ export function LockIcon(props: LockIconProps) {
return (
<label
className={`ToolIcon ToolIcon__lock ToolIcon_type_floating ${sizeCn} zen-mode-visibility ${
props.zenModeEnabled && "hidden"
props.zenModeEnabled && "hidden disable-pointerEvents"
}`}
title={`${props.title} — Q`}
>