app/internal/window: correct baseline DPI on Windows, iOS

Updates gio#53

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-11-04 19:23:19 +01:00
parent 615840352e
commit 4adaea3396
4 changed files with 3 additions and 4 deletions
+1
View File
@@ -81,6 +81,7 @@ func onDraw(view C.CFTypeRef, dpi, sdpi, width, height C.CGFloat, sync C.int, to
if sync != 0 {
isSync = true
}
const inchPrDp = 1.0 / 163
w.w.Event(FrameEvent{
FrameEvent: system.FrameEvent{
Size: image.Point{