mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 06:33:56 +00:00
add scale default value
This commit is contained in:
parent
2348a44ad6
commit
e3833dda5e
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user