hackclub / hackclub/sprig

Documentation lies regarding z-index ordering of setLegend

Open
#1,222 2 comments 0 reactions 1 assignee Claimed by @grymmy View on GitHub
bug medium priority
Dominant language
JavaScript
Stars
1.1k
Forks
1.8k
Avg merge
8d 12h
Merged PRs (30d)
12

Description

**Describe the bug**
A user reported that the documentation in the help panel states the following under `setLegend(bitmaps)`:
Screenshot 2023-11-08 at 4 25 53 PM
however [this link](https://sprig.hackclub.com/share/z2LyKUvDkJPey26GhQVi) shows a game where it can easily be seen that this ordering is not respected.

**To Reproduce**
Steps to reproduce the behavior:
1. Open above link
2. Modify legend order
3. Run game

**Expected behavior**
draw order should respect setLegend documentation

**Actual behavior**
draw order does not respect setLegend documentation

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.