fix: end offset

This commit is contained in:
not-elm
2025-08-10 23:43:40 +09:00
parent dd6854b176
commit bbb82a5a00
6 changed files with 707 additions and 32 deletions

View File

@@ -8,7 +8,6 @@ repository.workspace = true
publish = false
[dependencies]
bevy = { workspace = true, features = ["file_watcher"]}
bevy_remote = { workspace = true }
bevy = { workspace = true, default-features = true, features = ["file_watcher"]}
bevy_cef = { workspace = true, features = ["debug"] }

View File

@@ -12,7 +12,7 @@ fn main() {
spawn_camera,
spawn_directional_light,
spawn_github_webview,
spawn_google_search_webview,
spawn_github_io_webview,
spawn_ground,
enable_ime,
),
@@ -64,13 +64,13 @@ fn spawn_github_webview(
));
}
fn spawn_google_search_webview(
fn spawn_github_io_webview(
mut commands: Commands,
mut meshes: ResMut<Assets<Mesh>>,
mut materials: ResMut<Assets<WebviewExtendStandardMaterial>>,
) {
commands.spawn((
CefWebviewUri::new("https://not-elm.github.io/bevy_cef/"),
CefWebviewUri::new("https://not-elm.github.io/bevy_cef"),
WebviewSize(Vec2::splat(800.0)),
Mesh3d(meshes.add(Plane3d::new(Vec3::Z, Vec2::ONE))),
MeshMaterial3d(materials.add(WebviewExtendStandardMaterial::default())),