Use "outer" positions in all window-related operations
This commit is contained in:
parent
f2c9b6b2ff
commit
a0acaba866
2 changed files with 17 additions and 2 deletions
|
|
@ -165,7 +165,7 @@ where
|
|||
{
|
||||
pub fn position(&self) -> Option<Point> {
|
||||
self.raw
|
||||
.inner_position()
|
||||
.outer_position()
|
||||
.ok()
|
||||
.map(|position| position.to_logical(self.raw.scale_factor()))
|
||||
.map(|position| Point {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue