commit | 8361ed1f543a74c1d5fba1df4a2c5084f889a237 | [log] [tgz] |
---|---|---|
author | ocornut <omarcornut@gmail.com> | Tue Oct 26 19:23:04 2021 +0200 |
committer | ocornut <omarcornut@gmail.com> | Wed Oct 27 12:28:45 2021 +0200 |
tree | b3027db70a3bd571f4fb9661a8d78cb36669d3ff | |
parent | 19c72cd52a47a5184159c640b9cffe67063aa3f3 [diff] |
Nav: wrap abs<>rel rectangle conversions before we attempt to switch the reference point from window->Pos to window->DC.CursorStartPos. This commit should have no effect. Current point makes rectangle invalid right after a scroll, for interactive actions it's rarely a problem but e.g. clipper will want to use g.NavID rect rel while scrolling. (#3841)