1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 21:30:03 -04:00

Store/restore emigui memory state (window positions, sizes etc)

This commit is contained in:
Emil Ernerfeldt
2020-05-02 11:37:12 +02:00
parent d52cccde7b
commit bfbb669d02
19 changed files with 154 additions and 60 deletions

View File

@@ -57,7 +57,7 @@ impl<'t> Widget for TextEdit<'t> {
match event {
Event::Copy | Event::Cut => {
// TODO: cut
region.ctx().output.lock().copied_text = self.text.clone();
region.ctx().output().copied_text = self.text.clone();
}
Event::Text(text) => {
if text == "\u{7f}" {