mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 12:47:11 -05:00
When opening the graphs screen in dark mode, we want to load the page first and then reveal the webview, to prevent a flash of white that can appear as the page loads. Previously we did this for any call to load_ts_page(), but this results in flicker when refreshing an existing webview, such as the move from deck list to congrats screen. In those cases, at least on the machines I have to test with here, the refresh is smoother without the hide and show step. The new window case is still not ideal - while the hide+show prevents a flash of white, there is a flash of black instead, presumably as the webview draws the initially-blank framebuffer with the contents of the webview. |
||
|---|---|---|
| .. | ||
| aqt | ||
| bundle | ||
| icons | ||
| mac | ||
| tests | ||
| tools | ||
| .isort.cfg | ||
| README.md | ||
| runanki.py | ||
Python's Qt GUI is in aqt/