diff options
author | StapleButter <thetotalworm@gmail.com> | 2018-12-21 05:01:37 +0100 |
---|---|---|
committer | StapleButter <thetotalworm@gmail.com> | 2018-12-21 05:01:37 +0100 |
commit | 63ae6bf8fbd1e9d6c00ecdfc3680dece465e0c6c (patch) | |
tree | 5b3185b2596a838bca1f1b1d97fdb9c40b524a14 /src/libui_sdl/libui/windows/areaevents.cpp | |
parent | f86fe460350838d288a4515ac3b3865874a53e5b (diff) |
libui/windows: some work on hiDPI shit
still looks derpy but atleast the rendering and touchscreen aren't broken
Diffstat (limited to 'src/libui_sdl/libui/windows/areaevents.cpp')
-rw-r--r-- | src/libui_sdl/libui/windows/areaevents.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libui_sdl/libui/windows/areaevents.cpp b/src/libui_sdl/libui/windows/areaevents.cpp index 842f2d7..d65b11d 100644 --- a/src/libui_sdl/libui/windows/areaevents.cpp +++ b/src/libui_sdl/libui/windows/areaevents.cpp @@ -101,7 +101,7 @@ static void areaMouseEvent(uiArea *a, int down, int up, WPARAM wParam, LPARAM l xpix = (double) GET_X_LPARAM(lParam); ypix = (double) GET_Y_LPARAM(lParam); // these are in pixels; we need points - pixelsToDIP(a, &xpix, &ypix); + //pixelsToDIP(a, &xpix, &ypix); me.X = xpix; me.Y = ypix; if (a->scrolling) { |