...
This commit is contained in:
parent
b5ca8bef88
commit
e7cb2fdb58
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ func (p *Player) Event(c *gg.Context) {
|
|||
c.Camera.Position = pos.Sub(ec.Abs)
|
||||
case *gg.WheelChange :
|
||||
c.Camera.Scale = c.Camera.Scale.Add(gg.V2(
|
||||
ec.Offset.Y * c.DT() * p.ScaleSpeed,
|
||||
ec.Offset.Y * c.DT() * p.ScaleSpeed * 20,
|
||||
))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue