summaryrefslogtreecommitdiff
path: root/src/web.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-04 23:21:07 -0300
committerGabriel Schneider <[email protected]>2026-11-05 01:40:08 -0300
commitb10679649936d986f7cf798352cf999324666952 (patch)
treebf11709dae39f911534216e3065237c76a10a027 /src/web.zig
parent27d8941a177a4ec2c3b0990d4b81f529b93c6f0a (diff)
downloadpardes-b10679649936d986f7cf798352cf999324666952.tar.gz
pardes-b10679649936d986f7cf798352cf999324666952.zip
the pinch and touch_scroll events go: the window and the web page sent them and the core only kept them for two numbers on the Debug line; their wire tags (0x1b, 0x1c) now answer BadTag, and the NaN check they had moves onto pdf_scroll's distance
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/web.zig')
-rw-r--r--src/web.zig5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/web.zig b/src/web.zig
index 5e5a0d74..27a74289 100644
--- a/src/web.zig
+++ b/src/web.zig
@@ -235,11 +235,6 @@ fn mouseWithHit(button_arg: u32, kind_arg: u32, col_arg: u32, row_arg: u32, mods
});
}
-export fn pardes_touch_scroll(delta: f32) void {
- const s = &(state orelse return);
- s.core.update(.{ .touch_scroll = delta });
-}
-
export fn pardes_pointer_leave() void {
const s = &(state orelse return);
s.core.update(.pointer_leave);