Fix doodad properties button hitbox
This commit is contained in:
parent
6def8f7625
commit
f4ef0f8d8f
|
@ -346,7 +346,7 @@ func (w *Canvas) doodadButtonRect() render.Rect {
|
|||
return render.Rect{
|
||||
X: drawAt.X,
|
||||
Y: drawAt.Y,
|
||||
W: drawAt.X + balance.UICanvasDoodadButtonSize,
|
||||
H: drawAt.Y + balance.UICanvasDoodadButtonSize,
|
||||
W: balance.UICanvasDoodadButtonSize,
|
||||
H: balance.UICanvasDoodadButtonSize,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user