| 3147 | if (_zIndex != zIndex) { |
| 3148 | _zIndex = zIndex; |
| 3149 | |
| 3150 | auto parent = getParent(); |
| 3151 | if (zIndex != 0 && parent != nullptr) { |
| 3152 | parent->setHasChildWithZIndex(); |
| 3153 | } |
| 3154 | removeViewFromParent(viewTransactionScope); |
| 3155 | setViewTreeNeedsUpdate(); |
| 3156 | } |
| 3157 | } |