amethyst / amethyst/bracket-lib

`BTerm.draw_box` draws a box but does not fill it.

Aperta
#174 5 commenti 1 reazione 1 assegnatario Rivendicata da @thebracket Vedi su GitHub
Lingua principale
Rust
Stelle
1.7k
Fork
126
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I'm confused about the use of `BTerm::draw_box`. According to the documentation and underlying code it should draw a filled box. Both, when calling it directly or indirectly via DrawBatch it does not fill the box. This happens both in my own project and the tutorial code.

The attached screenshot shows that.

![tmp](https://user-images.githubusercontent.com/7463618/100451966-3936a200-30f3-11eb-8aa7-98322d103d4a.png)

Also using `draw_box` on an area filled with `DrawBatch.fill_area` removes the color inside the box again.
It seems to me I'm missing something about how rendering works with bracket-lib.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.