simplify code readability for panelShadowsActive

Authored by mvourlakos on Sep 1 2018, 8:34 AM.

Description

simplify code readability for panelShadowsActive

--fix also a case that the user hasnt enabled to
show panel background at all from the Show option
and the shadows where shown because they were
chosen before it was disabled by the user

(cherry picked from commit 0f79c08e862932fe78c161d0bfc3601a81e72761)

Details

Committed
mvourlakosSep 1 2018, 8:38 AM
Parents
R878:d080b9a89ff4: fix disabled monochrome contents for no background
Branches
Unknown
Tags
Unknown