mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-02-02 11:17:39 +08:00
update
This commit is contained in:
parent
d37cd00322
commit
4dbb68abf6
@ -91,7 +91,7 @@ Window {
|
||||
var dx = (_originalPos.x - screen.virtualX)/screen.devicePixelRatio
|
||||
var dy = (_originalPos.y - screen.virtualY)/screen.devicePixelRatio
|
||||
if(dx<0 && dy<0){
|
||||
_offsetXY = Qt.point(Math.abs(dx),Math.abs(dy))
|
||||
_offsetXY = Qt.point(Math.abs(dx)-1,Math.abs(dy)-1)
|
||||
}else{
|
||||
_offsetXY = Qt.point(0,0)
|
||||
}
|
||||
|
@ -90,7 +90,7 @@ Window {
|
||||
var dx = (_originalPos.x - screen.virtualX)/screen.devicePixelRatio
|
||||
var dy = (_originalPos.y - screen.virtualY)/screen.devicePixelRatio
|
||||
if(dx<0 && dy<0){
|
||||
_offsetXY = Qt.point(Math.abs(dx),Math.abs(dy))
|
||||
_offsetXY = Qt.point(Math.abs(dx)-1,Math.abs(dy)-1)
|
||||
}else{
|
||||
_offsetXY = Qt.point(0,0)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user