Support Bevy 0.17 (#11)
* update: modify for 0.17 * update: enhance webview functionality and improve plugin implementation * update: refactor webview system and improve binding group usage * update: refactor command triggering for webview events and enhance Receive struct * update: refactor command triggering for webview dev tools * update: refactor render process handler and improve webview handling * update: refactor webview browser handling and improve IME caret management * clippy * fmt * update: improve README formatting and clarify version compatibility * update: support Bevy 0.17 and enhance permissions in settings * update: enhance CI configuration by adding Wayland and XKB dependencies * delete: settings.json * update: refactor shader imports and improve binding group definitions * update: refactor devtool command triggers for improved clarity * update: modify LibraryLoader initialization for improved path handling on macOS * fmt --------- Co-authored-by: not-elm <elmgameinfo@gmail.com>
This commit is contained in:
@@ -58,12 +58,12 @@ fn spawn_webview(
|
||||
|
||||
fn request_go_back(mut commands: Commands, webviews: Query<Entity, With<DebugWebview>>) {
|
||||
for webview in webviews.iter() {
|
||||
commands.entity(webview).trigger(RequestGoBack);
|
||||
commands.trigger(RequestGoBack { webview });
|
||||
}
|
||||
}
|
||||
|
||||
fn request_go_forward(mut commands: Commands, webviews: Query<Entity, With<DebugWebview>>) {
|
||||
for webview in webviews.iter() {
|
||||
commands.entity(webview).trigger(RequestGoForward);
|
||||
commands.trigger(RequestGoForward { webview });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user