ospaceteam / outerspace

Outer Space is turn-base 4X multiplayer on-line strategy game.
GNU General Public License v2.0
20 stars 10 forks source link

Quicken setStatus method. #285

Closed dahaic closed 5 years ago

dahaic commented 5 years ago

The setStatus method is used all over the client. Triggering update() every time user hovers over something is nasty and has strong performance impact. Redraw is more than enough.

Biggest change is in Construction dialog - after the change lag is not noticeable on modern laptop CPU anymore.