mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-09 22:57:59 -05:00
app/edit: fix bug where android sends us spurious compose changes. Just drop them.
This commit is contained in:
@@ -1328,8 +1328,11 @@ impl BaseEdit {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Not sure what to do if only compose changes lol
|
||||||
|
// For now just ignore it.
|
||||||
|
|
||||||
// Text changed - finish any active selection
|
// Text changed - finish any active selection
|
||||||
if is_text_changed || is_compose_changed {
|
if is_text_changed {
|
||||||
self.eval_rect().await;
|
self.eval_rect().await;
|
||||||
self.behave.apply_cursor_scroll().await;
|
self.behave.apply_cursor_scroll().await;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user