mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-12-16 01:48:56 +08:00
Color alpha support. (#884)
This commit is contained in:
@@ -23,6 +23,7 @@ class ClearUnder : public NodeDecorator {
|
||||
for (int y = box_.y_min; y <= box_.y_max; ++y) {
|
||||
for (int x = box_.x_min; x <= box_.x_max; ++x) {
|
||||
screen.PixelAt(x, y) = Pixel();
|
||||
screen.PixelAt(x, y).character = " "; // Consider the pixel written.
|
||||
}
|
||||
}
|
||||
Node::Render(screen);
|
||||
|
||||
Reference in New Issue
Block a user