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

Fix missing desks #205

Merged
merged 8 commits into from
Nov 30, 2023
Merged

Fix missing desks #205

merged 8 commits into from
Nov 30, 2023

Conversation

OmniTroid
Copy link
Contributor

photo_2023-11-30_00-40-37

There currently exists a bug that displays a "image not found" icon when a background is used that does not contain desks. It can be seen in the top left here.

This change implements some new utilities for checking image urls, such as findImgSrc, which either returns an existing source, or a transparent png. We then use this utility in the desk handling code to make sure this error icon never appears.

@stonedDiscord stonedDiscord merged commit 4435a40 into AttorneyOnline:master Nov 30, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants