| 361 | } |
| 362 | |
| 363 | void ViewNodeTree::schedulePerformUpdates() { |
| 364 | if (!_scheduledPerformUpdates) { |
| 365 | _scheduledPerformUpdates = true; |
| 366 | #if VALDI_DEBUG_TREE_UPDATES |
| 367 | scheduleExclusiveUpdate( |
| 368 | [this]() { this->performUpdatesIfLayoutSpecsUpToDate(); }, DispatchFunction(), "root_needs_update"); |
| 369 | #else |
| 370 | scheduleExclusiveUpdate([this]() { this->performUpdatesIfLayoutSpecsUpToDate(); }, DispatchFunction()); |
| 371 | #endif |
| 372 | } |
| 373 | } |
| 374 | |
| 375 | void ViewNodeTree::performUpdatesIfLayoutSpecsUpToDate() { |
| 376 | _scheduledPerformUpdates = false; |
nothing calls this directly
no test coverage detected