mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-05 18:38:28 +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, .. } => {
|
||||
let button = match button {
|
||||
MouseButton::Left => Some(crate::MouseButton::Left),
|
||||
MouseButton::Right => Some(crate::MouseButton::Right),
|
||||
MouseButton::Left => Some(crate::input::MouseButton::Left),
|
||||
MouseButton::Right => {
|
||||
Some(crate::input::MouseButton::Right)
|
||||
}
|
||||
_ => None,
|
||||
};
|
||||
|
||||
|
@ -20,6 +20,5 @@ mod window;
|
||||
pub use self::{
|
||||
display::{Error, display},
|
||||
graphics::RendererInitError,
|
||||
input::MouseButton,
|
||||
screen::{NormalizedScreenPosition, Screen, ScreenSize},
|
||||
};
|
||||
|
@ -2,11 +2,13 @@ use fj_interop::Model;
|
||||
use tracing::warn;
|
||||
|
||||
use crate::{
|
||||
MouseButton, NormalizedScreenPosition, RendererInitError, Screen,
|
||||
ScreenSize,
|
||||
NormalizedScreenPosition, RendererInitError, Screen, ScreenSize,
|
||||
camera::{Camera, FocusPoint},
|
||||
graphics::{DrawConfig, Renderer},
|
||||
input::{CameraTuningConfig, DEFAULT_CAMERA_TUNING_CONFIG, InputEvent},
|
||||
input::{
|
||||
CameraTuningConfig, DEFAULT_CAMERA_TUNING_CONFIG, InputEvent,
|
||||
MouseButton,
|
||||
},
|
||||
};
|
||||
|
||||
/// The Fornjot model viewer
|
||||
|
Loading…
Reference in New Issue
Block a user