| 30 | } |
| 31 | |
| 32 | Ref<Asset> DirectionalAsset::withConfiguration(const AssetConfiguration& configuration) { |
| 33 | if (!configuration.rightToLeft.has_value()) { |
| 34 | return strongSmallRef(this); |
| 35 | } |
| 36 | |
| 37 | auto asset = configuration.rightToLeft.value() ? _rtlAsset : _ltrAsset; |