mirror of
https://github.com/fairyglade/ly.git
synced 2025-12-20 19:24:53 +00:00
Add edge margin to top-right clock
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
@@ -663,7 +663,7 @@ pub fn main() !void {
|
|||||||
break :draw_clock;
|
break :draw_clock;
|
||||||
}
|
}
|
||||||
|
|
||||||
buffer.drawLabel(clock_str, buffer.width - @min(buffer.width, clock_str.len), 0);
|
buffer.drawLabel(clock_str, buffer.width - @min(buffer.width, clock_str.len) - config.edge_margin, config.edge_margin);
|
||||||
}
|
}
|
||||||
|
|
||||||
const label_x = buffer.box_x + buffer.margin_box_h;
|
const label_x = buffer.box_x + buffer.margin_box_h;
|
||||||
|
|||||||
Reference in New Issue
Block a user