From 63ae6bf8fbd1e9d6c00ecdfc3680dece465e0c6c Mon Sep 17 00:00:00 2001 From: StapleButter Date: Fri, 21 Dec 2018 05:01:37 +0100 Subject: libui/windows: some work on hiDPI shit still looks derpy but atleast the rendering and touchscreen aren't broken --- src/libui_sdl/libui/windows/areaevents.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libui_sdl/libui/windows/areaevents.cpp') 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) { -- cgit v1.2.3