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
|
@ -47,10 +47,10 @@ pub fn render(_: *void, self: *Button.State(void), theme: *const Widget.Theme) b
|
|||
self.plane.erase();
|
||||
self.plane.home();
|
||||
self.plane.set_style(style_base);
|
||||
_ = self.plane.fill_width(" ", .{}) catch {};
|
||||
self.plane.fill(" ");
|
||||
self.plane.home();
|
||||
self.plane.set_style(style_label);
|
||||
_ = self.plane.fill_width(" ", .{}) catch {};
|
||||
self.plane.fill(" ");
|
||||
self.plane.home();
|
||||
self.plane.on_styles(style.bold);
|
||||
var buf: [31:0]u8 = undefined;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue