| 185 | } |
| 186 | |
| 187 | void ViewCore::updateChildren() |
| 188 | { |
| 189 | double scaleFactor = getUIScaleFactor(); |
| 190 | |
| 191 | visitInternalChildren([scaleFactor](auto child) { |
| 192 | if (auto androidCore = std::dynamic_pointer_cast<android::ViewCore>(child)) { |
| 193 | androidCore->setUIScaleFactor(scaleFactor); |
| 194 | } |
| 195 | }); |
| 196 | } |
| 197 | } |
nothing calls this directly
no test coverage detected