aboutsummaryrefslogtreecommitdiff
path: root/src/instance/inc/instance.h
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-09-21 18:14:44 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2022-09-21 18:14:44 +0200
commit85d4af02662539455cc4ef04edecd3934046d4bf (patch)
treef7b70402806560d5673f3e0a6db68692b42847ba /src/instance/inc/instance.h
parent3eef29c327abd46e73c0a4d5b1c186dd7d3878b2 (diff)
downloadrts-85d4af02662539455cc4ef04edecd3934046d4bf.tar.gz
gui: fix wrong logic on update/render/deinit
The older implementation caused some elements to be update/rendered/deinitialized more than once per call. For example, considering the following tree of GUI elements: A B C D E The older implementation would update/render/deinitialize C and E more than once, as shown below: Update A Update B Update C Update D Update E Update C This was because a GUI element was acting on its siblings, but the siblings would also act on theirs, causing the extra calls. OTOH, as an additional improvement, no nested call is now required for siblings.
Diffstat (limited to 'src/instance/inc/instance.h')
0 files changed, 0 insertions, 0 deletions