shared-y: final review fixes

This commit is contained in:
Martino Ferrari committed 2026-11-04 01:14:36 +01:00
1 parent fa9f0c6da9
commit 03cb85e015
5 files changed
+16 -5

No files matched your search

+1
View File
@@ -303,6 +303,7 @@ The cells of a figure row can **share one y range**, symmetric to the x link
share the rest by the existing `floor + extra * w / total` rule, the floors applying to plot widths.
Equal weights give equal plot areas; the first cell's rect is gutter plus its plot width and the rects
still tile the row exactly.
In the GTK4 and GLFW adapters the pointer is routed by **cell rect** (`row_in(rows, x, y)`: the
containing cell, else the nearest by squared distance), one `input::Controller` per plot. The tests are
the `figure_cell*` cases in `tests/test_figure.cpp` and `glfw_host_routes_by_cell`.