refactor: prefer Plane.fill for blanking with alpha
This commit is contained in:
parent
fa25d250c6
commit
f7ba83fd83
18 changed files with 20 additions and 20 deletions
|
@ -44,7 +44,7 @@ pub fn render(self: *Self, btn: *Button.State(Self), theme: *const Widget.Theme)
|
|||
btn.plane.erase();
|
||||
btn.plane.home();
|
||||
btn.plane.set_style(bg_style);
|
||||
_ = btn.plane.fill_width(" ", .{}) catch {};
|
||||
btn.plane.fill(" ");
|
||||
btn.plane.home();
|
||||
_ = btn.plane.putstr(self.rendered) catch {};
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue