mirror of
				https://github.com/hannobraun/Fornjot
				synced 2025-10-31 20:28:13 +00:00 
			
		
		
		
	Remove redundant re-export
This commit is contained in:
		
							parent
							
								
									f413115baa
								
							
						
					
					
						commit
						6f9e6eafaf
					
				| @ -123,8 +123,10 @@ impl ApplicationHandler for DisplayState { | |||||||
|             } |             } | ||||||
|             WindowEvent::MouseInput { state, button, .. } => { |             WindowEvent::MouseInput { state, button, .. } => { | ||||||
|                 let button = match button { |                 let button = match button { | ||||||
|                     MouseButton::Left => Some(crate::MouseButton::Left), |                     MouseButton::Left => Some(crate::input::MouseButton::Left), | ||||||
|                     MouseButton::Right => Some(crate::MouseButton::Right), |                     MouseButton::Right => { | ||||||
|  |                         Some(crate::input::MouseButton::Right) | ||||||
|  |                     } | ||||||
|                     _ => None, |                     _ => None, | ||||||
|                 }; |                 }; | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -20,6 +20,5 @@ mod window; | |||||||
| pub use self::{ | pub use self::{ | ||||||
|     display::{Error, display}, |     display::{Error, display}, | ||||||
|     graphics::RendererInitError, |     graphics::RendererInitError, | ||||||
|     input::MouseButton, |  | ||||||
|     screen::{NormalizedScreenPosition, Screen, ScreenSize}, |     screen::{NormalizedScreenPosition, Screen, ScreenSize}, | ||||||
| }; | }; | ||||||
|  | |||||||
| @ -2,11 +2,13 @@ use fj_interop::Model; | |||||||
| use tracing::warn; | use tracing::warn; | ||||||
| 
 | 
 | ||||||
| use crate::{ | use crate::{ | ||||||
|     MouseButton, NormalizedScreenPosition, RendererInitError, Screen, |     NormalizedScreenPosition, RendererInitError, Screen, ScreenSize, | ||||||
|     ScreenSize, |  | ||||||
|     camera::{Camera, FocusPoint}, |     camera::{Camera, FocusPoint}, | ||||||
|     graphics::{DrawConfig, Renderer}, |     graphics::{DrawConfig, Renderer}, | ||||||
|     input::{CameraTuningConfig, DEFAULT_CAMERA_TUNING_CONFIG, InputEvent}, |     input::{ | ||||||
|  |         CameraTuningConfig, DEFAULT_CAMERA_TUNING_CONFIG, InputEvent, | ||||||
|  |         MouseButton, | ||||||
|  |     }, | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| /// The Fornjot model viewer
 | /// The Fornjot model viewer
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user