refactor: refresh logic is spread throughout the codebase
johnnylam88 opened this issue ยท 2 comments
There are far too many places that call this.Ovale.needRefresh()
in the codebase. We should be using events to trigger a frame refresh instead. There is already some work in place to have individual state modules raise events on changes, but all of those events should be caught by the ui/Frame
module where all of the refresh logic should be encapsulated.
Issue #749 is related to this.