summaryrefslogtreecommitdiff
path: root/src/pardes.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/pardes.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/pardes.zig')
-rw-r--r--src/pardes.zig4
1 files changed, 0 insertions, 4 deletions
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);