| 1643 | |
| 1644 | return Size((*array)[0].toFloat(), (*array)[1].toFloat()); |
| 1645 | } |
| 1646 | |
| 1647 | bool ViewNode::isMeasurerPlaceholder() const { |
| 1648 | return _emittingViewNode != nullptr; |
| 1649 | } |
| 1650 | |
| 1651 | void ViewNode::valueChanged(AttributeId attribute, const Value& value, bool shouldNotifySync) { |
| 1652 | _attributesApplier.updateAttributeWithoutUpdate(attribute, value); |
| 1653 | |
| 1654 | auto* viewNodeTree = getViewNodeTree(); |
| 1655 | if (viewNodeTree != nullptr && viewNodeTree->getContext() != nullptr) { |
| 1656 | viewNodeTree->getContext()->onAttributeChange( |
no test coverage detected