shell: Correctly handle window geometry
This commit is contained in:
parent
1eb5d1e64f
commit
f59bb8a06e
3 changed files with 9 additions and 6 deletions
|
|
@ -221,7 +221,7 @@ where
|
|||
) -> Vec<C> {
|
||||
AsRenderElements::<R>::render_elements::<CosmicWindowRenderElement<R>>(
|
||||
&self.window,
|
||||
location - self.window.geometry().loc.to_physical_precise_round(scale),
|
||||
location,
|
||||
scale,
|
||||
)
|
||||
.into_iter()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue