doc: Fix DeviceScale comment

This commit is contained in:
Hajime Hoshi 2018-01-03 16:56:23 +09:00
parent 7ba811e5ba
commit 5dfb361aca

3
run.go
View File

@ -298,7 +298,8 @@ func SetWindowIcon(iconImages []image.Image) {
// DeviceScale returns a device scale value.
//
// This returns a meaningful value on high-DPI display environment.
// DeviceScale returns a meaningful value on high-DPI display environment,
// otherwise DeviceScale returns 1.
//
// This function is concurrent-safe.
func DeviceScale() float64 {