mirror of
				https://github.com/Tim-Paik/neutauri.git
				synced 2024-10-12 23:29:41 +00:00 
			
		
		
		
	fix windows window resize bug
This commit is contained in:
		| @ -191,7 +191,9 @@ pub fn dev(config_path: String) -> wry::Result<()> { | |||||||
|                 event: WindowEvent::CloseRequested, |                 event: WindowEvent::CloseRequested, | ||||||
|                 .. |                 .. | ||||||
|             } => *control_flow = ControlFlow::Exit, |             } => *control_flow = ControlFlow::Exit, | ||||||
|             _ => (), |             _ => { | ||||||
|  |                 let _ = webview.resize(); | ||||||
|  |             } | ||||||
|         } |         } | ||||||
|     }); |     }); | ||||||
| } | } | ||||||
|  | |||||||
| @ -180,7 +180,9 @@ fn main() -> wry::Result<()> { | |||||||
|                 event: WindowEvent::CloseRequested, |                 event: WindowEvent::CloseRequested, | ||||||
|                 .. |                 .. | ||||||
|             } => *control_flow = ControlFlow::Exit, |             } => *control_flow = ControlFlow::Exit, | ||||||
|             _ => (), |             _ => { | ||||||
|  |                 let _ = webview.resize(); | ||||||
|  |             } | ||||||
|         } |         } | ||||||
|     }); |     }); | ||||||
| } | } | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user