Michael Grant
e40ef98b1e
image: extend existing placements when a pane grows wider
...
image_write() only ever creates spans for as much of an image as fit in
the pane at the time it was placed - the rest of the image's pixels are
still retained (struct image is immutable and kept for as long as any
placement references it), but nothing revisited that clipping decision,
so a pane that was too narrow when an image was displayed stayed clipped
forever, even after growing wide enough to fit the rest. Unlike height,
which recovers via ordinary scrollback, there is no equivalent "scroll
right" - this is the only way the extra width is ever recovered.
image_grid_resize_width() finds every placement referenced in a grid's
rows, works out how far its spans already reach and its origin column,
and extends them (via a new image_extend_row(), factored out of
image_write()'s own span-building loop) up to whichever is smaller: the
image's own full width or the new pane width. window_pane_resize() calls
it after a pane grows wider.
2026-08-25 11:24:14 +01:00
..
2026-07-05 14:36:47 +01:00
2026-07-24 09:49:32 +01:00
2026-07-13 22:08:58 +01:00
2026-07-06 11:50:58 +01:00
2026-07-06 11:50:58 +01:00
2026-07-06 11:50:58 +01:00
2026-07-06 11:50:58 +01:00
2026-07-06 11:50:58 +01:00
2026-07-17 09:13:33 +01:00
2026-07-06 11:50:58 +01:00
2026-07-06 11:50:58 +01:00
2026-07-06 11:50:58 +01:00
2026-07-06 11:50:58 +01:00
2026-07-17 09:29:59 +01:00
2025-12-07 22:11:45 +00:00
2026-07-06 11:50:58 +01:00
2026-07-06 11:50:58 +01:00
2026-07-12 22:03:16 +01:00
2026-07-12 22:03:16 +01:00
2026-08-03 21:19:10 +01:00
2026-07-10 07:54:21 -07:00
2026-07-06 11:50:58 +01:00
2026-07-17 09:37:50 +01:00
2026-07-10 16:45:58 +01:00
2026-07-13 10:23:38 +01:00
2026-08-03 20:27:10 +01:00
2026-07-06 11:50:58 +01:00
2026-07-14 12:05:06 +01:00
2026-07-09 08:56:06 +01:00
2026-07-13 11:32:28 +01:00
2026-07-06 11:50:58 +01:00
2026-08-03 09:53:50 +01:00
2021-05-13 08:49:58 +01:00
2019-04-02 09:44:28 +01:00
2026-07-06 11:50:58 +01:00
2019-04-02 09:44:28 +01:00
2026-07-06 11:50:58 +01:00
2019-04-02 09:44:28 +01:00
2026-07-06 11:50:58 +01:00
2019-04-02 09:44:28 +01:00
2026-07-06 11:50:58 +01:00
2019-04-02 09:44:28 +01:00
2026-07-28 11:36:03 +01:00
2026-07-06 11:50:58 +01:00
2026-07-19 20:58:20 +01:00
2026-07-06 11:50:58 +01:00
2026-07-06 11:50:58 +01:00
2026-08-22 16:53:08 +01:00
2026-08-22 16:53:08 +01:00
2026-07-06 11:50:58 +01:00
2026-08-25 10:14:49 +01:00
2026-07-22 14:17:22 +01:00
2026-07-06 11:50:58 +01:00
2026-07-08 12:36:19 +01:00
2026-07-06 11:50:58 +01:00
2026-07-06 11:50:58 +01:00
2026-07-06 11:50:58 +01:00
2026-07-12 20:59:11 +01:00
2026-07-06 11:50:58 +01:00
2026-07-13 10:23:38 +01:00
2026-07-13 10:23:38 +01:00
2026-07-13 22:52:25 +01:00
2026-07-28 08:08:26 +01:00
2026-07-06 11:50:58 +01:00
2026-07-06 11:50:58 +01:00
2026-07-06 11:50:58 +01:00
2026-08-25 11:23:52 +01:00
2026-08-25 11:23:52 +01:00
2026-08-25 11:24:14 +01:00
2026-08-25 11:23:52 +01:00
2026-07-26 10:02:31 +01:00
2026-07-02 10:26:25 +01:00
2026-07-02 10:26:25 +01:00
2026-07-06 11:50:58 +01:00
2026-07-02 10:26:25 +01:00
2026-07-21 08:00:39 +01:00
2026-07-26 10:21:01 +01:00
2026-07-02 10:26:25 +01:00
2026-07-02 10:26:25 +01:00
2026-07-02 10:26:25 +01:00
2026-07-02 10:26:25 +01:00
2026-07-02 10:26:25 +01:00
2026-07-02 10:26:25 +01:00
2026-07-02 10:26:25 +01:00
2026-07-02 10:26:25 +01:00
2026-07-02 10:26:25 +01:00
2026-07-09 09:39:44 +01:00
2026-07-06 11:50:58 +01:00
2026-07-06 11:50:58 +01:00
2026-07-02 10:26:25 +01:00
2026-07-02 10:26:25 +01:00
2026-07-26 10:02:31 +01:00
2026-07-06 11:50:58 +01:00
2026-07-06 11:50:58 +01:00
2026-07-12 20:59:11 +01:00
2026-07-28 14:18:18 +01:00
2026-08-20 10:19:19 +01:00
2026-07-14 18:18:52 +01:00
2026-08-17 08:06:31 +01:00
2026-08-25 11:22:26 +01:00
2026-07-22 20:24:21 +01:00
2026-07-06 11:50:58 +01:00
2026-07-06 11:50:58 +01:00
2026-07-06 11:50:58 +01:00
2026-07-06 11:50:58 +01:00
2026-07-12 22:03:16 +01:00
2026-07-06 11:50:58 +01:00
2026-07-23 08:06:09 +01:00
2026-07-06 11:50:58 +01:00
2026-07-23 08:06:09 +01:00
2026-07-06 11:50:58 +01:00
2026-08-20 09:18:58 +01:00
2026-08-05 08:26:10 +01:00
2026-08-25 10:14:49 +01:00
2026-08-25 10:14:49 +01:00
2026-08-25 10:14:49 +01:00
2026-08-25 10:14:49 +01:00
2026-07-06 11:50:58 +01:00
2026-07-13 10:23:38 +01:00
2026-08-25 10:14:49 +01:00
2026-08-25 10:14:49 +01:00
2026-08-25 10:14:49 +01:00
2026-08-18 08:45:11 +01:00
2026-07-26 16:08:58 +01:00
2026-07-12 23:18:47 +01:00
2026-07-06 11:50:58 +01:00
2026-07-23 10:38:27 +01:00
2026-07-23 10:38:27 +01:00
2026-07-06 11:50:58 +01:00
2026-07-14 22:09:52 +01:00
2026-07-06 11:50:58 +01:00
2026-07-12 22:03:16 +01:00
2026-07-06 11:50:58 +01:00
2026-07-06 11:50:58 +01:00
2026-07-13 07:08:05 +01:00
2026-07-06 11:50:58 +01:00
2026-08-03 11:09:04 +01:00
2026-07-06 11:50:58 +01:00
2026-07-08 09:16:50 +01:00
2026-07-28 08:08:26 +01:00
2026-07-13 10:23:38 +01:00
2026-07-06 11:50:58 +01:00
2026-07-23 08:06:09 +01:00
2026-07-06 11:50:58 +01:00
2026-08-25 10:14:49 +01:00
2026-08-18 08:23:16 +01:00
2026-08-03 13:59:27 +01:00
2026-07-06 11:50:58 +01:00
2026-07-06 11:50:58 +01:00
2026-07-08 09:22:55 +01:00
2026-08-21 10:54:29 +01:00
2026-07-19 18:34:18 +01:00
2026-07-01 18:43:01 +01:00
2026-07-06 11:50:58 +01:00
2026-07-01 18:43:01 +01:00
2026-07-13 10:23:38 +01:00
2026-08-20 09:18:58 +01:00