Construct-bugs icon indicating copy to clipboard operation
Construct-bugs copied to clipboard

else stays red, even though it should be allowed

Open F3der1co opened this issue 2 years ago • 1 comments

Problem description

an else condition stays red even though it should be allowed now

Attach a .c3p

orBlockStaysRed.zip

Steps to reproduce

  1. delete one else condition
  2. see the other else condition stays red even though it should be ok now
  3. turning it into an and block doesn't fix it as well

Observed result

correct else is red and blocks preview

Expected result

else turns into allowed state and doesn't block preview

More details

Affected browsers/platforms:

First affected release:

System details

View details

PASTE HERE

F3der1co avatar May 04 '23 21:05 F3der1co

just realized that maybe it is also relevant how to create the two red elses, as I guess the top else shouldn't have been red to begin with, one way I can reproduce it is:

  1. make an event with an else condition into an or block
  2. copy paste an else into that event

https://user-images.githubusercontent.com/89512047/236338265-0197d7d6-901f-4095-aefd-765f2a237f6c.mp4

F3der1co avatar May 04 '23 21:05 F3der1co