Closed Timmy-the-nobody closed 4 months ago
Btw this makes the first tutorial from the docs look broken since it's using a Canvas with a transparent background color https://docs.nanos.world/docs/next/getting-started/tutorials-and-examples/basic-hud-canvas
After checking again it seems like all Canvas instances have a white background, no matter the background color you set in the constructor
fixed it, thanks for reporting
Prerequisites
Your Environment
Description
When spawning a Canvas with
Color.TRANSPARENT
asclear_color
in the class constructor it makes the background color of the canvas white instead of transparentSteps to reproduce the behavior
Run this snippet
Expected behavior
The background color should be transparent
Actual behavior
The background color is white