element: Clip to tile size if available instead of element geometry

This commit is contained in:
Victoria Brekenfeld 2025-12-22 18:26:20 +01:00 committed by Victoria Brekenfeld
parent 8f7dc7f00c
commit e4e7567174
6 changed files with 31 additions and 0 deletions

View file

@ -1506,6 +1506,7 @@ impl FloatingLayout {
render_location
.as_logical()
.to_physical_precise_round(output_scale),
None,
output_scale.into(),
alpha,
None,
@ -1516,6 +1517,7 @@ impl FloatingLayout {
render_location
.as_logical()
.to_physical_precise_round(output_scale),
None,
output_scale.into(),
1.,
alpha,