feat: shake cursor to find by magnifying the cursor
This commit is contained in:
parent
04026259e0
commit
f20de50e41
7 changed files with 205 additions and 7 deletions
|
|
@ -2286,6 +2286,11 @@ impl Shell {
|
|||
.is_some_and(|state| state.lock().unwrap().is_animating())
|
||||
})
|
||||
})
|
||||
|| self.seats.iter().any(|seat| {
|
||||
seat.user_data()
|
||||
.get::<crate::backend::render::cursor::CursorState>()
|
||||
.is_some_and(|state| state.lock().unwrap().is_magnifying())
|
||||
})
|
||||
}
|
||||
|
||||
pub fn update_animations(&mut self) -> HashMap<ClientId, Client> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue