mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
shift the status bar a bit more
as uptime goes up, the width gets larger...
This commit is contained in:
parent
b5a6c436c2
commit
cfcea2e094
1 changed files with 2 additions and 2 deletions
|
|
@ -166,8 +166,8 @@ fn xmain() -> ! {
|
|||
// layout: 336 px wide
|
||||
// 0 150 150 200
|
||||
// Feb 05 15:00 (00:06:23) xxxx 3.72V/-100mA/99%
|
||||
const CPU_BAR_WIDTH: i16 = 48;
|
||||
const CPU_BAR_OFFSET: i16 = 4;
|
||||
const CPU_BAR_WIDTH: i16 = 46;
|
||||
const CPU_BAR_OFFSET: i16 = 8;
|
||||
let time_rect = Rectangle::new_with_style(
|
||||
Point::new(0, 0),
|
||||
Point::new(screensize.x / 2 - CPU_BAR_WIDTH / 2 - 1 + CPU_BAR_OFFSET, screensize.y / 2 - 1),
|
||||
|
|
|
|||
Loading…
Reference in a new issue