michangarrito/apps/backend/node_modules/react-native/Libraries/Text/VirtualText/RCTVirtualTextShadowView.mm
rckrdmrd 97f407c661 [MIGRATION-V2] feat: Migrar michangarrito a estructura v2
- Prefijo v2: MCH
- TRACEABILITY-MASTER.yml creado
- Listo para integracion como submodulo

Workspace: v2.0.0 | SIMCO: v4.0.0
2026-01-10 11:28:54 -06:00

43 lines
694 B
Plaintext

/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#import <React/RCTVirtualTextShadowView.h>
#ifndef RCT_REMOVE_LEGACY_ARCH
#import <React/RCTShadowView+Layout.h>
#import <yoga/Yoga.h>
#import <React/RCTRawTextShadowView.h>
@implementation RCTVirtualTextShadowView {
BOOL _isLayoutDirty;
}
#pragma mark - Layout
- (void)dirtyLayout
{
[super dirtyLayout];
if (_isLayoutDirty) {
return;
}
_isLayoutDirty = YES;
[self.superview dirtyLayout];
}
- (void)clearLayout
{
_isLayoutDirty = NO;
}
@end
#endif // RCT_REMOVE_LEGACY_ARCH