Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,6 @@ constructor(context: Context, private val fpsListener: FpsListener? = null) :
override var removeClippedSubviews: Boolean
get() = _removeClippedSubviews
set(value) {
if (ReactNativeFeatureFlags.disableSubviewClippingAndroid()) return
if (value && clippingRect == null) clippingRect = Rect()
_removeClippedSubviews = value
updateClippingRect()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<557812f5b7859a968d77969161d79133>>
* @generated SignedSource<<1d384b60412db920a363fd903634e6d4>>
*/

/**
Expand Down Expand Up @@ -149,7 +149,6 @@ constructor(context: Context, private val fpsListener: FpsListener? = null) :
override var removeClippedSubviews: Boolean
get() = _removeClippedSubviews
set(value) {
if (ReactNativeFeatureFlags.disableSubviewClippingAndroid()) return
if (value && clippingRect == null) clippingRect = Rect()
_removeClippedSubviews = value
updateClippingRect()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ constructor(context: Context, private val fpsListener: FpsListener? = null) :
override var removeClippedSubviews: Boolean
get() = _removeClippedSubviews
set(value) {
if (ReactNativeFeatureFlags.disableSubviewClippingAndroid()) return
if (value && clippingRect == null) clippingRect = Rect()
_removeClippedSubviews = value
updateClippingRect()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -519,17 +519,8 @@ public open class ReactViewGroup public constructor(context: Context?) :
}

override var removeClippedSubviews: Boolean
get() {
if (ReactNativeFeatureFlags.disableSubviewClippingAndroid()) {
return false
}
return _removeClippedSubviews
}
get() = _removeClippedSubviews
set(newValue) {
if (ReactNativeFeatureFlags.disableSubviewClippingAndroid()) {
return
}

if (newValue == _removeClippedSubviews) {
return
}
Expand Down
Loading