mirror of
https://github.com/bobwen-dev/hunter
synced 2025-04-12 00:55:41 +02:00
fix deadlock when pausing video
This commit is contained in:
parent
44baece00f
commit
a13a427a68
@ -419,7 +419,7 @@ impl MediaView {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn toggle_autoplay(&self) {
|
pub fn toggle_autoplay(&self) {
|
||||||
*AUTOPLAY.write() = !*AUTOPLAY.read();
|
*AUTOPLAY.write() = !self.autoplay()
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn toggle_mute(&self) {
|
pub fn toggle_mute(&self) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user