PHP 7.4.33
Preview: RCTVirtualTextShadowView.mm Size: 628 B
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/react-native/Libraries/Text/VirtualText/RCTVirtualTextShadowView.mm
/*
 * 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>

#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

Directory Contents

Dirs: 0 × Files: 6
Name Size Perms Modified Actions
292 B lrw-r--r-- 2025-03-28 11:04:41
Edit Download
628 B lrw-r--r-- 2025-03-28 11:04:43
Edit Download
474 B lrw-r--r-- 2025-03-28 11:04:41
Edit Download
270 B lrw-r--r-- 2025-03-28 11:04:43
Edit Download
295 B lrw-r--r-- 2025-03-28 11:04:41
Edit Download
532 B lrw-r--r-- 2025-03-28 11:04:43
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).