mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 08:16:13 +03:00
disable debug
This commit is contained in:
@ -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) {
|
||||||
|
Reference in New Issue
Block a user