mirror of
https://github.com/ankitects/anki.git
synced 2025-11-11 07:07:13 -05:00
* Prevent stale frames being drawn. At key points where external changes enter the webview, stale images might get rendered. This ensures that a frame showing current state is always shown. * Only stage single redraw * Remove potentially superfluous calls to `self.update()` * Remove potentially superfluous calls to `self.update()`. I lost this one during some git troubles. * Revert unrelated change The function is supposed to take a boolean telling it whether or not the loading succeeded, which it doesn't as is. However, this is unrelated and works either way so I also reverted it again. * chore: code cleanup * cleanup: Remove redundant check for presence of callback A callback will be used either way for this call, so it can be simplified. The check happens inside the handler. * Add comment explaining why this change is necessary, referencing the relevant PR. * Clarify comment to answer the why, not the what. One can see what is being done, why is probably more important. |
||
|---|---|---|
| .. | ||
| aqt | ||
| bundle | ||
| icons | ||
| mac | ||
| tests | ||
| tools | ||
| .isort.cfg | ||
| README.md | ||
| runanki.py | ||
Python's Qt GUI is in aqt/