Merge branch 'master' into explore-input-method2

This commit is contained in:
Héctor Ramón Jiménez 2025-02-03 17:24:05 +01:00
commit 50eaef2844
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
5 changed files with 68 additions and 24 deletions

View file

@ -564,7 +564,8 @@ where
Event::Mouse(mouse::Event::CursorMoved { .. })
| Event::Touch(touch::Event::FingerMoved { .. }) => {
if let Some(scrollbar) = scrollbars.y {
let Some(cursor_position) = cursor.position()
let Some(cursor_position) =
cursor.land().position()
else {
return;
};
@ -636,7 +637,8 @@ where
match event {
Event::Mouse(mouse::Event::CursorMoved { .. })
| Event::Touch(touch::Event::FingerMoved { .. }) => {
let Some(cursor_position) = cursor.position() else {
let Some(cursor_position) = cursor.land().position()
else {
return;
};