From b10679649936d986f7cf798352cf999324666952 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 4 Nov 2026 23:21:07 -0300 Subject: 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 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- src/pardes.zig | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/pardes.zig') diff --git a/src/pardes.zig b/src/pardes.zig index e8d2d598..9af74212 100644 --- a/src/pardes.zig +++ b/src/pardes.zig @@ -3052,8 +3052,6 @@ pub const Event = union(enum) { /// `glide`: a wheel's notch, which the strip glides; a touchpad's /// fraction is followed as it comes. pdf_scroll: struct { pane: u8, delta_pixels: f32, glide: bool = true }, - pinch: f32, - touch_scroll: f32, /// The host pointer left the drawable area. Unlike an out-of-range motion, /// this must not clamp onto and preview the final grid cell. pointer_leave, @@ -5809,8 +5807,6 @@ pub const Pardes = struct { edit.applyPaste(p, bytes); }, .command => |line| _ = p.executeBuiltinLine(p.active, line), - .pinch => |scale| p.ov_pinch_scale = scale, - .touch_scroll => |delta| p.ov_touch_scroll_delta = delta, .focus => |focused| { p.window_focused = focused; if (focused) if (p.host.vtable.newer_build) |f| if (f(p.host.ctx)) p.setMessage(p.active, newer_build_words); -- cgit v1.3