chore: clippy
This commit is contained in:
parent
c13e52da04
commit
2ca99c670a
59 changed files with 1974 additions and 2137 deletions
|
|
@ -232,24 +232,24 @@ impl ZoomState {
|
|||
let active_output = self.seat.active_output();
|
||||
let output = output.unwrap_or(&active_output);
|
||||
let output_state = output.user_data().get::<Mutex<OutputZoomState>>().unwrap();
|
||||
let res = output_state
|
||||
|
||||
output_state
|
||||
.lock()
|
||||
.unwrap()
|
||||
.animating_focal_point()
|
||||
.to_global(output);
|
||||
res
|
||||
.to_global(output)
|
||||
}
|
||||
|
||||
pub fn current_focal_point(&self, output: Option<&Output>) -> Point<f64, Global> {
|
||||
let active_output = self.seat.active_output();
|
||||
let output = output.unwrap_or(&active_output);
|
||||
let output_state = output.user_data().get::<Mutex<OutputZoomState>>().unwrap();
|
||||
let res = output_state
|
||||
|
||||
output_state
|
||||
.lock()
|
||||
.unwrap()
|
||||
.current_focal_point()
|
||||
.to_global(output);
|
||||
res
|
||||
.to_global(output)
|
||||
}
|
||||
|
||||
pub fn update_focal_point(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue