mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-09 10:32:26 +02:00
fix webview id
This commit is contained in:
@@ -1241,7 +1241,7 @@ wrap_task! {
|
||||
fn create_window<T: UserEvent>(
|
||||
context: &Context<T>,
|
||||
window_id: WindowId,
|
||||
_webview_id: u32,
|
||||
webview_id: u32,
|
||||
pending: PendingWindow<T, CefRuntime<T>>,
|
||||
) {
|
||||
let label = pending.label.clone();
|
||||
@@ -1435,7 +1435,6 @@ fn create_window<T: UserEvent>(
|
||||
);
|
||||
|
||||
if let Some(webview) = pending.webview {
|
||||
let webview_id = context.next_webview_id();
|
||||
create_webview(
|
||||
WebviewKind::WindowContent,
|
||||
context,
|
||||
|
||||
Reference in New Issue
Block a user