mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
wallet: editbox when text is highlighted and key pressed, use regen_glyphs() since we no longer regen glyphs in redraw()
This commit is contained in:
@@ -791,8 +791,7 @@ impl EditBox {
|
||||
async fn insert_char(&self, key: char) {
|
||||
if !self.selected.is_null(0).unwrap() {
|
||||
self.delete_highlighted();
|
||||
// This is inefficient but we don't give a shit here
|
||||
self.redraw().await;
|
||||
self.regen_glyphs().await;
|
||||
};
|
||||
|
||||
let mut text = String::new();
|
||||
|
||||
Reference in New Issue
Block a user