Open aleclarson opened 5 years ago
Fixes #232
[RCTViewManager checkLayerExists:]
[NSView ensureLayerExists]
layer
[NSView makeBackingLayer]
layer.transform
[RCTView displayLayer:]
ensureLayerExists
reactSetFrame:
position
anchorPoint
[RCTView setBackgroundColor:]
Fixes #232
[RCTViewManager checkLayerExists:]
to[NSView ensureLayerExists]
layer
manually in[NSView ensureLayerExists]
(let thelayer
getter call[NSView makeBackingLayer]
instead)layer.transform
directly except in[RCTView displayLayer:]
ensureLayerExists
before setting any layer-related propensureLayerExists
insidereactSetFrame:
so layer props can be setposition
andanchorPoint
by setting them in[RCTView displayLayer:]
[RCTView setBackgroundColor:]
strangeness