mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2025-01-30 05:06:29 -05:00
parent
3a4e9a95a3
commit
875081f6b2
@ -162,6 +162,7 @@ func (v *Viewport) toLeft() {
|
||||
return
|
||||
}
|
||||
v.screenRect.Width = v.defaultScreenRect.Width / 2
|
||||
v.screenRect.Left = v.defaultScreenRect.Left + v.defaultScreenRect.Width/2
|
||||
v.align = left
|
||||
}
|
||||
|
||||
@ -170,7 +171,6 @@ func (v *Viewport) toRight() {
|
||||
return
|
||||
}
|
||||
v.screenRect.Width = v.defaultScreenRect.Width / 2
|
||||
v.screenRect.Left = v.defaultScreenRect.Left + v.defaultScreenRect.Width/2
|
||||
v.align = right
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user