remove errant clear

This commit is contained in:
bunnie 2025-04-28 03:17:27 +08:00
parent 10044579aa
commit a40279ef1e

View file

@ -138,9 +138,6 @@ impl<'a> Modal<'a> {
}
let action_height = self.action.height(self.line_height, self.margin, &self);
if !do_redraw {
self.gfx.clear().unwrap();
}
let action_resolver: Box<&dyn ActionApi> = Box::new(&self.action);
action_resolver.redraw(cur_height, &self);