mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-18 05:34:02 -04:00
render: resize: add TODO: translate pivot coords
This commit is contained in:
parent
a187271ca4
commit
003ea4904d
1 changed files with 6 additions and 0 deletions
6
render.c
6
render.c
|
|
@ -3692,6 +3692,12 @@ maybe_resize(struct terminal *term, int width, int height, bool force)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* TODO: if we remove the selection_finalize() call above (i.e. if
|
||||||
|
* we start allowing selections to be ongoing across resizes), the
|
||||||
|
* selection’s pivot point coordinates *must* be added to the
|
||||||
|
* tracking points list.
|
||||||
|
*/
|
||||||
struct coord *const tracking_points[] = {
|
struct coord *const tracking_points[] = {
|
||||||
&term->selection.start,
|
&term->selection.start,
|
||||||
&term->selection.end,
|
&term->selection.end,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue