mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 02:38:53 +01:00
ui: Remove ScreenSizeEvent.Scale
This commit is contained in:
parent
6f50ef3604
commit
b0a7e13502
@ -20,7 +20,6 @@ type CloseEvent struct {
|
||||
type ScreenSizeEvent struct {
|
||||
Width int
|
||||
Height int
|
||||
Scale int
|
||||
ActualScale int
|
||||
}
|
||||
|
||||
|
@ -194,7 +194,6 @@ func (u *userInterface) Update() (interface{}, error) {
|
||||
screenSizeEvent = &ScreenSizeEvent{
|
||||
Width: u.width,
|
||||
Height: u.height,
|
||||
Scale: u.scale,
|
||||
ActualScale: u.actualScreenScale(),
|
||||
}
|
||||
})
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user