amethyst / amethyst/bracket-lib
Fancy Console glyphs persistent across renders?
- Ngôn ngữ chính
- Rust
- Star
- 1.7k
- Fork
- 126
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.