refactor: remove unused parameter in set_base_style
This commit is contained in:
parent
0a43fa853f
commit
cfb9f8cf11
25 changed files with 28 additions and 28 deletions
|
@ -22,7 +22,7 @@ pub fn Options(context: type) type {
|
|||
pub fn do_nothing(_: context, _: *State(Context)) void {}
|
||||
|
||||
pub fn on_render_default(_: context, self: *State(Context), theme: *const Widget.Theme) bool {
|
||||
self.plane.set_base_style(" ", if (self.text.items.len > 0) theme.input else theme.input_placeholder);
|
||||
self.plane.set_base_style(if (self.text.items.len > 0) theme.input else theme.input_placeholder);
|
||||
self.plane.erase();
|
||||
self.plane.home();
|
||||
if (self.text.items.len > 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue