File tree Expand file tree Collapse file tree 2 files changed +13
-9
lines changed
Expand file tree Collapse file tree 2 files changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,10 @@ void ekg::render() {
153153 property.descriptor_at .flags ,
154154 property.descriptor_at ,
155155
156- ekg::ui::get_abs_rect (property, descriptor.rect );
156+ /* *
157+ * Sync the widget states and position by getting the abs.
158+ **/
159+ ekg::ui::get_abs_rect (property, descriptor.rect );
157160 if (!property.states .is_visible ) {
158161 break ;
159162 }
@@ -177,7 +180,7 @@ void ekg::render() {
177180 ekg::ui::pass (property, descriptor);
178181
179182 if (!property.widget .should_buffering ) {
180- continue ;
183+ break ;
181184 }
182185
183186 ekg::ui::buffering (property, descriptor);
Original file line number Diff line number Diff line change @@ -388,6 +388,7 @@ void ekg::ui::event(
388388 !skip_this_tick_self_destruction
389389 ) {
390390 popup.widget .should_self_recursive_destroy = true ;
391+ ekg::io::dispatch (ekg::io::operation::high_frequency, property.at );
391392 }
392393
393394 break ;
@@ -402,13 +403,6 @@ void ekg::ui::high_frequency(
402403 ekg::property_t &property,
403404 ekg::popup_t &popup
404405) {
405-
406- }
407-
408- void ekg::ui::pass (
409- ekg::property_t &property,
410- ekg::popup_t &popup
411- ) {
412406 if (popup.widget .should_self_recursive_destroy ) {
413407 ekg::ui::recursive_self_destroy_abs_popup (
414408 popup
@@ -417,6 +411,13 @@ void ekg::ui::pass(
417411 popup.widget .should_self_recursive_destroy = false ;
418412 }
419413
414+ property.widget .is_high_frequency = false ;
415+ }
416+
417+ void ekg::ui::pass (
418+ ekg::property_t &property,
419+ ekg::popup_t &popup
420+ ) {
420421 ekg::ui::pass (property, popup.widget .frame );
421422}
422423
You can’t perform that action at this time.
0 commit comments