mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
clean up a debug message
This commit is contained in:
parent
0cc1f9f5fb
commit
00ada3ac3c
1 changed files with 1 additions and 1 deletions
|
|
@ -141,7 +141,7 @@ impl Eq for Canvas {}
|
||||||
|
|
||||||
// we use the "screen" parameter to determine when we can turn off drawing to canvases that are off-screen
|
// we use the "screen" parameter to determine when we can turn off drawing to canvases that are off-screen
|
||||||
pub fn recompute_canvases(canvases: FnvIndexMap<Gid, Canvas, U32>, screen: Rectangle) -> FnvIndexMap<Gid, Canvas, U32> {
|
pub fn recompute_canvases(canvases: FnvIndexMap<Gid, Canvas, U32>, screen: Rectangle) -> FnvIndexMap<Gid, Canvas, U32> {
|
||||||
let debug = true;
|
let debug = false;
|
||||||
// first, sort canvases by trust_level. Canvas implements ord/eq based on the trust_level attribute
|
// first, sort canvases by trust_level. Canvas implements ord/eq based on the trust_level attribute
|
||||||
// so jush pushing it into a max binary heap does the trick.
|
// so jush pushing it into a max binary heap does the trick.
|
||||||
if debug { info!("CANVAS: recompute canvas"); }
|
if debug { info!("CANVAS: recompute canvas"); }
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue