d9f1e22648
* Replaced ankimedia object directly call by addon specific hook # Conflicts: # qt/aqt/browser/previewer.py # qt/aqt/clayout.py # qt/aqt/reviewer.py * Replaced ankimedia.js by addon specific hook # Conflicts: # qt/aqt/browser/previewer.py # qt/aqt/clayout.py # qt/aqt/main.py * Create specific location name for each hook to reuse control * Created the card_review_webview_did_init hook * Extended the hook card_will_show to replace will_show_web The new hook card_will_show_state takes three new arguments * Created the hook audio_did_pause_or_unpause to replace will_show_web The new hook is called when audio toggle pause is called * Created the hook audio_will_replay to replace will_show_web The new hook is called when the audio is replayed by the user. * Created the hook previewer_will_redraw_after_show_both_sides_toggled to replace will_show_web. The new hook fully replaces the last uses of will_show_web. * Replaced card_will_show_state hook with reviewer_did_init and equivalents. Instead of receiving the required state, it access it by caching the object values with hooks as reviewer_did_init. |
||
---|---|---|
.. | ||
sidebar | ||
table | ||
__init__.py | ||
browser.py | ||
card_info.py | ||
find_and_replace.py | ||
find_duplicates.py | ||
layout.py | ||
previewer.py |