mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 06:10:06 -04:00
egui_web: improve text input on mobile and for IME
This commit is contained in:
@@ -137,7 +137,8 @@ pub struct AppRunner {
|
||||
prefer_dark_mode: Option<bool>,
|
||||
last_save_time: f64,
|
||||
screen_reader: crate::screen_reader::ScreenReader,
|
||||
pub(crate) last_text_cursor_pos: Option<egui::Pos2>,
|
||||
pub(crate) text_cursor_pos: Option<egui::Pos2>,
|
||||
pub(crate) mutable_text_under_cursor: bool,
|
||||
}
|
||||
|
||||
impl AppRunner {
|
||||
@@ -163,7 +164,8 @@ impl AppRunner {
|
||||
prefer_dark_mode,
|
||||
last_save_time: now_sec(),
|
||||
screen_reader: Default::default(),
|
||||
last_text_cursor_pos: None,
|
||||
text_cursor_pos: None,
|
||||
mutable_text_under_cursor: false,
|
||||
};
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user