Skip to content

Commit 73acea7

Browse files
committed
Fix the mouse cursor getting limited by the wrong bounding box
1 parent 23989d2 commit 73acea7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/driver/src/VideoDriver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ VideoDriver::VideoDriver(VideoDriverLoaderInterface* CallBack)
2727

2828
Position VideoDriver::GetMousePos() const
2929
{
30-
return mouse_xy.pos;
30+
return mouse_xy.pos * (int)dpiScale_;
3131
}
3232

3333
/**

0 commit comments

Comments
 (0)