 7ee9f8e392
			
		
	
	
		7ee9f8e392
		
			
		
	
	
	
	
		
			
			# Objective - Fix the asset hack for wasm examples so that they work on the website - Use patches instead of sed for wasm hacks so that it fails explicitly when they need to be updated
		
			
				
	
	
		
			17 lines
		
	
	
		
			628 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			628 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| diff --git a/crates/bevy_window/src/window.rs b/crates/bevy_window/src/window.rs
 | |
| index 7b5c75d38..8e9404b93 100644
 | |
| --- a/crates/bevy_window/src/window.rs
 | |
| +++ b/crates/bevy_window/src/window.rs
 | |
| @@ -245,9 +245,9 @@ impl Default for Window {
 | |
|              transparent: false,
 | |
|              focused: true,
 | |
|              window_level: Default::default(),
 | |
| -            fit_canvas_to_parent: false,
 | |
| +            fit_canvas_to_parent: true,
 | |
|              prevent_default_event_handling: true,
 | |
| -            canvas: None,
 | |
| +            canvas: Some("#bevy".to_string()),
 | |
|              window_theme: None,
 | |
|              visible: true,
 | |
|          }
 |