ui: Remove ScreenSizeEvent.Scale

This commit is contained in:
Hajime Hoshi 2016-06-19 01:12:42 +09:00
parent 6f50ef3604
commit b0a7e13502
4 changed files with 0 additions and 4 deletions

View File

@ -20,7 +20,6 @@ type CloseEvent struct {
type ScreenSizeEvent struct {
Width int
Height int
Scale int
ActualScale int
}

View File

@ -194,7 +194,6 @@ func (u *userInterface) Update() (interface{}, error) {
screenSizeEvent = &ScreenSizeEvent{
Width: u.width,
Height: u.height,
Scale: u.scale,
ActualScale: u.actualScreenScale(),
}
})

View File

@ -87,7 +87,6 @@ func (u *userInterface) Update() (interface{}, error) {
e := ScreenSizeEvent{
Width: w,
Height: h,
Scale: u.ScreenScale(),
ActualScale: u.ActualScreenScale(),
}
return e, nil

View File

@ -118,7 +118,6 @@ func (u *userInterface) Update() (interface{}, error) {
e := ScreenSizeEvent{
Width: u.width,
Height: u.height,
Scale: u.scale,
ActualScale: u.actualScreenScale(),
}
return e, nil