disable debug

This commit is contained in:
Mitchell Hashimoto
2022-07-11 07:19:24 -07:00
parent 9cc9dbc9a0
commit 7213bfb14a

View File

@ -193,18 +193,18 @@ pub fn scroll(self: *Screen, behavior: Scroll) void {
} }
fn scrollDelta(self: *Screen, delta: isize, grow: bool) void { fn scrollDelta(self: *Screen, delta: isize, grow: bool) void {
log.info("offsets before: top={} bottom={} visible={}", .{ // log.info("offsets before: top={} bottom={} visible={}", .{
self.top, // self.top,
self.bottom, // self.bottom,
self.visible_offset, // self.visible_offset,
}); // });
defer { // defer {
log.info("offsets after: top={} bottom={} visible={}", .{ // log.info("offsets after: top={} bottom={} visible={}", .{
self.top, // self.top,
self.bottom, // self.bottom,
self.visible_offset, // self.visible_offset,
}); // });
} // }
// If we're scrolling up, then we just subtract and we're done. // If we're scrolling up, then we just subtract and we're done.
if (delta < 0) { if (delta < 0) {