mirror of
https://github.com/Stremio/stremio-shell-ng.git
synced 2026-03-11 17:15:49 +00:00
Better event handling in the webview
This commit is contained in:
parent
de70c49440
commit
0d6b8f23b5
1 changed files with 1 additions and 1 deletions
|
|
@ -199,7 +199,7 @@ impl PartialUi for WebView {
|
|||
_handle: nwg::ControlHandle,
|
||||
) {
|
||||
use nwg::Event as E;
|
||||
if evt == E::OnNotice {
|
||||
if evt == E::OnNotice && _handle == self.notice.handle {
|
||||
let message_queue = self.message_queue.clone();
|
||||
if let Some(controller) = self.controller.get() {
|
||||
let webview = controller.get_webview().expect("Cannot get vebview");
|
||||
|
|
|
|||
Loading…
Reference in a new issue