I cannot set a layer to be invisible using the event under System, 'Set Layer Visible'
Attach a Capx
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
Upon pressing V the first time, Layer 1 becomes visible, as expected. Upon pressing again, nothing happens.
On the second key press of V, I would expect Layer 1 to become invisible.
- Chrome: YES
- FireFox: YES
- Internet Explorer: YES
Operating System and Service Pack
Windows 7, Service Pack 1
Construct 2 Version ID
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.