aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/render.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/render.rs b/src/render.rs
index 8bb14b6..bb38399 100644
--- a/src/render.rs
+++ b/src/render.rs
@@ -184,7 +184,8 @@ impl<'r> Renderer<'r> {
+ (x_slice + self.options.trait_size) / 2
+ self.options.traitline_x_offset;
let end_x = start_x + x_slice - self.options.trait_size;
- let start_y = buffer.height() / 2;
+ let start_y = (buffer.height() - self.options.trait_size) / 2
+ + self.options.trait_size / 4 * (choice as u32);
let y_slice = buffer.height() / 3;
let end_y = y_slice * (choice as u32 - 1) + y_slice / 2;