ui: Add TODO

This commit is contained in:
Hajime Hoshi 2018-02-24 14:50:45 +09:00
parent 556b2ec31b
commit a87f197c1b

View File

@ -425,6 +425,7 @@ func (u *userInterface) pollEvents() {
func (u *userInterface) updateGraphicsContext(g GraphicsContext) {
actualScale := 0.0
sizeChanged := false
// TODO: Is it possible to reduce 'runOnMainThread' calls?
_ = u.runOnMainThread(func() error {
if !u.sizeChanged {
return nil