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

sketchpad: z-index cannot be specified through expressions/ variables #107

Open
smathot opened this issue Dec 2, 2024 · 0 comments
Open
Assignees
Labels

Comments

@smathot
Copy link
Collaborator

smathot commented Dec 2, 2024

The z_index keyword should accept an expression. This works in OpenSesame on the desktop, but not in OSWeb.

draw rect color=red fill=1 h=96 penwidth=1 show_if=True w=96 x=-224 y=-192 z_index="{zred}"
draw rect color=blue fill=1 h=96 penwidth=1 show_if=True w=96 x=-160 y=-160 z_index="{zblue}"
@smathot smathot added the bug label Dec 2, 2024
@smathot smathot self-assigned this Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant