| 232 | } |
| 233 | |
| 234 | void onYogaNodeDirty(YGNodeConstRef node) { |
| 235 | auto* layer = reinterpret_cast<snap::drawing::Layer*>(facebook::yoga::resolveRef(node)->getContext()); |
| 236 | if (layer == nullptr) { |
| 237 | return; |
| 238 | } |
| 239 | |
| 240 | layer->setNeedsLayout(); |
| 241 | } |
| 242 | |
| 243 | YGSize onYogaMeasure( |
| 244 | YGNodeConstRef node, float width, YGMeasureMode widthMode, float height, YGMeasureMode heightMode) { |
nothing calls this directly
no test coverage detected