amethyst / amethyst/bracket-lib
Fancy Console glyphs persistent across renders?
- Dominant language
- Rust
- Stars
- 1.7k
- Forks
- 126
- PR merge metrics
- No merged PRs in 30d
Description
This is possibly me not understanding or doing something wrong.
I am using the fancy console.
In my code I have a condition that determines if a glyph is rendered.
```
if condition {
draw_batch.set(offset_pos, render.color, render.glyph);
} else {
println!("false");
}
```
The issue I have is that the glyph is being rendered even when the condition is false.
I added an else condition and `println!` and can see that output in my terminal, but the glyph will appear in the last location it was rendered.
Is this expected behaviour for the fancy console?
My current workaround has been to render an empty glyph at 0,0 - that is the only way I've been able to get the original glyph to disappear.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.