parent
e41d4946f8
commit
a74e7847b2
1 changed files with 5 additions and 0 deletions
|
@ -133,8 +133,13 @@ void MapLocationDialog::paintEvent(QPaintEvent *ev)
|
||||||
long xpos_pr;
|
long xpos_pr;
|
||||||
long ypos_pr;
|
long ypos_pr;
|
||||||
if (screenRatioPR != 1) {
|
if (screenRatioPR != 1) {
|
||||||
|
#ifdef GTA5SYNC_WIN
|
||||||
|
xpos_pr = xpos_mp - pointMarkerHalfSize;
|
||||||
|
ypos_pr = ypos_mp + pointMarkerHalfSize;
|
||||||
|
#else
|
||||||
xpos_pr = xpos_mp - pointMarkerHalfSize + screenRatioPR;
|
xpos_pr = xpos_mp - pointMarkerHalfSize + screenRatioPR;
|
||||||
ypos_pr = ypos_mp + pointMarkerHalfSize - screenRatioPR;
|
ypos_pr = ypos_mp + pointMarkerHalfSize - screenRatioPR;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
xpos_pr = xpos_mp - pointMarkerHalfSize;
|
xpos_pr = xpos_mp - pointMarkerHalfSize;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue