Commit Graph

8 Commits

Author SHA1 Message Date
Darren Burns
1b0c94e8a0 Remove draw.py, fix imports 2022-10-13 11:15:15 +01:00
Will McGugan
e555b8512f Default css 2022-09-02 09:56:04 +01:00
darrenburns
a166d84eef Register callbacks at message pump level, invoke them after refresh (#607)
* Register callbacks at message pump level, invoke them after refresh

* Fix a typo

* Code review feedback actions

* call_later callbacks invoked after refresh or on idle

* Fix space key in text input

* Make Widget.on_idle synchronous

* Fix call_later

* Rename PostScreenUpdate to InvokeCallbacks, and only fire if callbacks exist

* Update type hints for InvokeLater callbacks

* Update type signature of call_later callbacks, extract typevar
2022-08-05 13:47:47 +01:00
Will McGugan
5bc439b6da skip tests 2022-05-30 17:32:57 +01:00
Olivier Philippon
15df759197 [App] Finally, time mocking in tests seems to be working! 😅
I had to add a flag in the `_timer` module that allows us to completely disable the  "skip" feature of Timers, though - but it shouldn't cause too much trouble 🤞
2022-05-20 14:50:43 +01:00
Olivier Philippon
74ad6f73fa [e2e] Add a way to accelerate time in our integration tests 2022-05-20 14:49:58 +01:00
Will McGugan
1a13a9c8ec wait a bit 2022-05-11 15:25:17 +01:00
Olivier Philippon
e70f8a4333 [tests][e2e] Add a test for Widget#scroll_to_widget() 2022-05-11 10:10:11 +01:00