Skip to content

Sleep presentation TextView1 example when inactive#319

Merged
rivo merged 4 commits intorivo:masterfrom
ajcarvajal:master
Feb 19, 2020
Merged

Sleep presentation TextView1 example when inactive#319
rivo merged 4 commits intorivo:masterfrom
ajcarvajal:master

Conversation

@ajcarvajal
Copy link
Copy Markdown
Contributor

A goroutine in the demo presentation increments an integer infinitely in the background. Now checks hasFocus() and sleeps longer if inactive

@rivo
Copy link
Copy Markdown
Owner

rivo commented Jan 7, 2020

The demo presentation was never meant to be run for a longer time so I'm not sure this is a real problem. But it's ok. I'll merge your commit if you exclude the "formatting fixes" in treeview.go. (I'd like to keep it brief to provide a good overview and gofmt is still fine with it.)

This reverts commit e4b4b7f.
@ajcarvajal
Copy link
Copy Markdown
Contributor Author

Cool, didn't mean to include the formatting changes anyway. Thanks for taking a look. I'm trying to get involved as a new dev, so it's appreciated!

@rivo rivo merged commit 93e6a49 into rivo:master Feb 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants