Ignore position of mask layers in layer tree mode
We ignored position of mask layers before crrev.com/697315 by always setting the mask layer's offset_to_transform_parent and property tree state to the same as the masked layer. As we removed the special handling code for mask layers from PropertyTreeBuilder, now we ignore position of mask layers in Layer::SetPosition() to keep the original behavior. Bug: 100532 Change-Id: I2c9def5e139ea6a3c798593f8f0c2a219d2bdc8b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1810844Reviewed-by:Philip Rogers <pdr@chromium.org> Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Cr-Commit-Position: refs/heads/master@{#697808}
Showing
Please register or sign in to comment