Log/Capture: fix capture to work on clipped child windows.

+ Tweak ErrorCheckEndFrameRecover() to use local window pointer.
This commit is contained in:
ocornut
2020-12-03 15:14:32 +01:00
parent 2afdfa602f
commit 998d7303b1
2 changed files with 14 additions and 10 deletions

View File

@ -78,6 +78,7 @@ Other Changes:
- Fonts: Updated GetGlyphRangesJapanese() to include a larger 2999 ideograms selection of Joyo/Jinmeiyo
kanjis, from the previous 1946 ideograms selection. This will consume a some more memory but be generally
much more fitting for Japanese display, until we switch to a more dynamic atlas. (#3627) [@vaiorabbit]
- Log/Capture: fix capture to work on clipped child windows.
- Misc: Made the ItemFlags stack shared, so effectively the ButtonRepeat/AllowKeyboardFocus states
(and others exposed in internals such as PushItemFlag) are inherited by stacked Begin/End pairs,
vs previously a non-child stacked Begin() would reset those flags back to zero for the stacked window.