commit | 5a2b1e84828f192d30c91cdd210db41de8ad3236 | [log] [tgz] |
---|---|---|
author | ocornut <omarcornut@gmail.com> | Wed Dec 08 20:54:04 2021 +0100 |
committer | ocornut <omarcornut@gmail.com> | Thu Mar 16 21:12:57 2023 +0100 |
tree | 616be8ee5386e4200e59a1eb762bda17b2becef6 | |
parent | 314e6443c9265185d2939b5c3b45582195b223ff [diff] |
InputText: Fixed a tricky edge case, ensuring value is always written back on the frame where IsItemDeactivated() returns true (#4714) Altered ItemAdd() clipping rule to keep previous-frame ActiveId unclipped to support that late commit. Also, MarkItemEdited() may in theory need to do: if (g.ActiveIdPreviousFrame == id) g.ActiveIdPreviousFrameHasBeenEditedBefore = true; But this should already be set so not adding now.