mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
devicescale: Rename XFCE -> Xfce
This commit is contained in:
parent
ee87a0fd71
commit
4bcb2e5682
@ -34,7 +34,7 @@ const (
|
||||
desktopCinnamon
|
||||
desktopUnity
|
||||
desktopKDE
|
||||
desktopXFCE
|
||||
desktopXfce
|
||||
)
|
||||
|
||||
func currentDesktop() desktop {
|
||||
@ -49,7 +49,7 @@ func currentDesktop() desktop {
|
||||
case "KDE":
|
||||
return desktopKDE
|
||||
case "XFCE":
|
||||
return desktopXFCE
|
||||
return desktopXfce
|
||||
default:
|
||||
return desktopUnknown
|
||||
}
|
||||
@ -115,7 +115,7 @@ func impl() float64 {
|
||||
case desktopKDE:
|
||||
// TODO: Implement
|
||||
return 1
|
||||
case desktopXFCE:
|
||||
case desktopXfce:
|
||||
// TODO: Implement
|
||||
return 1
|
||||
}
|
||||
|
2
run.go
2
run.go
@ -296,7 +296,7 @@ func SetWindowIcon(iconImages []image.Image) {
|
||||
ui.SetWindowIcon(iconImages)
|
||||
}
|
||||
|
||||
// DeviceScaleFactor returns a device scale value.
|
||||
// DeviceScaleFactor returns a device scale factor value.
|
||||
//
|
||||
// DeviceScaleFactor returns a meaningful value on high-DPI display environment,
|
||||
// otherwise DeviceScaleFactor returns 1.
|
||||
|
Loading…
Reference in New Issue
Block a user