OverlayDrawer: Rewrite visibility condition for segmented separator
I found one-liner quite confusing to read, not to mention it was relying to on the && and || operator precedence without parenthesis. There is no need to check for hasOwnProperty(), because instanceof check would evaluate to false with null or undefined value on the left.
parent
df581fa8
Please register or sign in to comment