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
|
@ -155,7 +155,7 @@ fn handle_render_menu(self: *Self, button: *Button.State(*Menu.State(*Self)), th
|
|||
button.plane.home();
|
||||
button.plane.set_style(style_label);
|
||||
if (button.active or button.hover or selected) {
|
||||
_ = button.plane.fill_width(" ", .{}) catch {};
|
||||
button.plane.fill(" ");
|
||||
button.plane.home();
|
||||
}
|
||||
const entry = &self.entries.items[idx];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue