mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-07-01 06:41:49 +08:00
update
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user