Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🪲 pressed not highlighted when number is used as key to press #5757

Open
AnneliesVlaar opened this issue Sep 8, 2024 · 1 comment
Open
Assignees
Labels
bug Something isn't working

Comments

@AnneliesVlaar
Copy link
Collaborator

Describe the bug
when if 1 is pressed: is the code, 'pressed' is coloured white instead of brown. Giving the suggestion that it is not valid code, but works (😃)

Paste the Hedy code & level
I tested in level 17

stop = False
while stop == False:

    if x is pressed:
        stop = True
    elif 1 is pressed:
        print "1"
    else:
        print "?"

Add a screenshot (optional)
afbeelding

What machine and browser you were using (optional)
If the issue concerns things in the website, let us know:

  • What computer you are using (Windows, Mac, Linux?)
  • What browser you were using: Mozilla
@boryanagoncharenko
Copy link
Collaborator

This issue is still present. Definitely not high priority, but it is there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

4 participants