mirror of https://github.com/fairyglade/ly.git
consistency
This commit is contained in:
parent
d3231fa281
commit
384b19a46c
|
@ -112,8 +112,7 @@ pub fn draw(self: *Matrix) void {
|
||||||
dot.is_head = false;
|
dot.is_head = false;
|
||||||
if (MID_SCROLL_CHANGE) {
|
if (MID_SCROLL_CHANGE) {
|
||||||
const randint = self.terminal_buffer.random.int(i16);
|
const randint = self.terminal_buffer.random.int(i16);
|
||||||
if (@mod(randint, 8) == 0)
|
if (@mod(randint, 8) == 0) dot.value = @mod(randint, MAX_CODEPOINT) + MIN_CODEPOINT;
|
||||||
dot.value = @mod(randint, MAX_CODEPOINT) + MIN_CODEPOINT;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
y += 1;
|
y += 1;
|
||||||
|
|
Loading…
Reference in New Issue