add scale default value

This commit is contained in:
vcaesar 2018-07-20 18:29:06 +08:00
parent 2348a44ad6
commit e3833dda5e

View File

@ -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,