From e3833dda5ee30569e41f3f366585a1e7312207b8 Mon Sep 17 00:00:00 2001 From: vcaesar Date: Fri, 20 Jul 2018 18:29:06 +0800 Subject: [PATCH] add scale default value --- robotgo.go | 1 + 1 file changed, 1 insertion(+) diff --git a/robotgo.go b/robotgo.go index cdf54cd..71a040b 100644 --- a/robotgo.go +++ b/robotgo.go @@ -208,6 +208,7 @@ func GetScreenSize() (int, int) { // Scale get the screen scale func Scale() int { dpi := map[int]int{ + 0: 100, 96: 100, 120: 125, 144: 150,