| 1600 | auto& viewTransactionScope = viewNodeTree->getCurrentViewTransactionScope(); |
| 1601 | if (static_cast<bool>(hasOpacity)) { |
| 1602 | viewNode->setAttribute(viewTransactionScope, opacityId, attributeOwner, Valdi::Value(opacity), nullptr); |
| 1603 | } else { |
| 1604 | viewNode->setAttribute(viewTransactionScope, opacityId, attributeOwner, Valdi::Value::undefined(), nullptr); |
| 1605 | } |
| 1606 | |
| 1607 | if (static_cast<bool>(hasTransform)) { |
| 1608 | viewNode->setAttribute( |
| 1609 | viewTransactionScope, translationYId, attributeOwner, Valdi::Value(translationY), nullptr); |
| 1610 | viewNode->setAttribute(viewTransactionScope, scaleXId, attributeOwner, Valdi::Value(scale), nullptr); |
| 1611 | viewNode->setAttribute(viewTransactionScope, scaleYId, attributeOwner, Valdi::Value(scale), nullptr); |
| 1612 | } else { |
| 1613 | viewNode->setAttribute( |
| 1614 | viewTransactionScope, translationYId, attributeOwner, Valdi::Value::undefined(), nullptr); |
nothing calls this directly
no test coverage detected