mirror of
https://github.com/go-vgo/robotgo
synced 2026-05-24 10:19:01 +00:00
fix dpi spell
This commit is contained in:
parent
62b865dbef
commit
9c2797ade0
1 changed files with 2 additions and 2 deletions
|
|
@ -207,7 +207,7 @@ func GetScreenSize() (int, int) {
|
|||
|
||||
// Scale get the screen scale
|
||||
func Scale() int {
|
||||
dip := map[int]int{
|
||||
dpi := map[int]int{
|
||||
96: 100,
|
||||
120: 125,
|
||||
144: 150,
|
||||
|
|
@ -215,7 +215,7 @@ func Scale() int {
|
|||
}
|
||||
|
||||
x := ScaleX()
|
||||
return dip[x]
|
||||
return dpi[x]
|
||||
}
|
||||
|
||||
// GetScaleSize get the screen scale size
|
||||
|
|
|
|||
Loading…
Reference in a new issue