diff options
| author | blasty <blasty@local> | 2026-08-06 16:20:29 +0200 |
|---|---|---|
| committer | blasty <blasty@local> | 2026-08-06 16:20:29 +0200 |
| commit | e103f6b6c2399bf46301c3c6f9f5c4cecd456ef8 (patch) | |
| tree | e111ae66a96244117a7c603784d6e17ed6ad8ea8 /experiments/fibonacci.elf | |
| parent | splash: draw the real logo on terminals that can (diff) | |
| download | ida-tui-e103f6b6c2399bf46301c3c6f9f5c4cecd456ef8.tar.gz ida-tui-e103f6b6c2399bf46301c3c6f9f5c4cecd456ef8.tar.xz ida-tui-e103f6b6c2399bf46301c3c6f9f5c4cecd456ef8.zip | |
graph: the minimap is clickable, and stops swallowing clicks
Click it to jump the view to that part of the graph, drag to scrub. If the
point you clicked is over a block the cursor lands in it, so the keyboard
carries on from where you pointed instead of snapping back.
This also fixes a real bug rather than only adding a feature. The minimap
FLOATS over the canvas -- it is pinned to the viewport, not drawn into the
graph -- so a click on it was being translated into canvas coordinates and
dropping the cursor into whatever block happened to lie underneath. It has to
be hit-tested before the canvas, which is what on_click now does.
_minimap_rect() is the one source of truth for where it is: the renderer and
the hit-test both take the position from it, so the two-column inset that
keeps it clear of the ScrollView's scrollbar can't drift between them.
Diffstat (limited to 'experiments/fibonacci.elf')
0 files changed, 0 insertions, 0 deletions
