tangled
alpha
login
or
join now
rockorager.dev
/
comlink
2
fork
atom
an experimental irc client
2
fork
atom
overview
issues
pulls
pipelines
ui: change wheel scroll to one line
rockorager.dev
1 year ago
74107111
26c4ed61
+2
-2
1 changed file
expand all
collapse all
unified
split
src
irc.zig
+2
-2
src/irc.zig
···
677
677
return ctx.consumeAndRedraw();
678
678
}
679
679
if (mouse.button == .wheel_down) {
680
680
-
self.scroll.pending -|= 3;
680
680
+
self.scroll.pending -|= 1;
681
681
ctx.consume_event = true;
682
682
}
683
683
if (mouse.button == .wheel_up) {
684
684
-
self.scroll.pending +|= 3;
684
684
+
self.scroll.pending +|= 1;
685
685
ctx.consume_event = true;
686
686
}
687
687
if (self.scroll.pending != 0) {