mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
always redraw the full extent of secure modals
This commit is contained in:
parent
57783e076c
commit
3dae62a20d
1 changed files with 1 additions and 1 deletions
|
|
@ -374,7 +374,7 @@ impl<'a> Modal<'a> {
|
|||
const BORDER_WIDTH: i16 = 3;
|
||||
log::debug!("modal redraw");
|
||||
let canvas_size = self.gam.get_canvas_bounds(self.canvas).unwrap();
|
||||
let do_redraw = self.top_dirty || self.bot_dirty;
|
||||
let do_redraw = self.top_dirty || self.bot_dirty || self.inverted;
|
||||
// draw the outer border
|
||||
if do_redraw {
|
||||
self.gam.draw_rounded_rectangle(self.canvas,
|
||||
|
|
|
|||
Loading…
Reference in a new issue