mirror of
https://github.com/servo/servo.git
synced 2025-09-30 00:29:14 +01:00
layout: Use FastTransform for hit testing (#38554)
`FastTransform` provides faster matrix operations when the involved transforms are just translations. Testing: Not needed (no change in behavior) Signed-off-by: Oriol Brufau <obrufau@igalia.com> Co-authored-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
0d40547bec
commit
4ff1e8dbd9
8 changed files with 58 additions and 71 deletions
|
@ -272,7 +272,7 @@ impl DisplayListBuilder<'_> {
|
|||
info.origin,
|
||||
*parent_spatial_node_id,
|
||||
info.transform_style,
|
||||
PropertyBinding::Value(info.transform),
|
||||
PropertyBinding::Value(*info.transform.to_transform()),
|
||||
info.kind,
|
||||
spatial_tree_item_key,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue