mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +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;
|
const BORDER_WIDTH: i16 = 3;
|
||||||
log::debug!("modal redraw");
|
log::debug!("modal redraw");
|
||||||
let canvas_size = self.gam.get_canvas_bounds(self.canvas).unwrap();
|
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
|
// draw the outer border
|
||||||
if do_redraw {
|
if do_redraw {
|
||||||
self.gam.draw_rounded_rectangle(self.canvas,
|
self.gam.draw_rounded_rectangle(self.canvas,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue