Problem Description
I cannot set a layer to be invisible using the event under System, 'Set Layer Visible'
Attach a Capx
https://mega.nz/#!KwFCVBbK!eG4-jSqftOCbPPdozpd0Rr9ROkDgI980zSJr1LxJ_d4
Description of Capx
There are two text objects, one per layer. Layer 1 is by default invisible. When the key V is pressed, if layer 1 is visible, it will become invisible, or if layer 1 is invisible, it will become visible.
Steps to Reproduce Bug
- Step 1: Preview Layout
- Step 2: Press V
- Step 3: Press V again
Observed Result
Upon pressing V the first time, Layer 1 becomes visible, as expected. Upon pressing again, nothing happens.
Expected Result
On the second key press of V, I would expect Layer 1 to become invisible.
Affected Browsers
- Chrome: YES
- FireFox: YES
- Internet Explorer: YES
Operating System and Service Pack
Windows 7, Service Pack 1
Construct 2 Version ID
r216 (64-bit)
Note that on debugging this I found that Layer 1's property 'Visible' is set to false, upon pressing V it is set to 1, and after that it does not change.