refactor project structure (start of redoing atomic branch without atomics)
This commit is contained in:
1 parent
38266debb6
commit
2dc5b0f62c
76 files changed
+540
-442
No files matched your search
@@ -1,8 +1,5 @@
|
||||
use cosmic_text::Family;
|
||||
use iris::{
|
||||
prelude::*,
|
||||
winit::{attr::Selectable, event::Submit, *},
|
||||
};
|
||||
use iris::prelude::*;
|
||||
use len_fns::*;
|
||||
use winit::event::WindowEvent;
|
||||
|
||||
@@ -110,7 +107,7 @@ impl DefaultAppState for Client {
|
||||
.size(30)
|
||||
.attr::<Selectable>(())
|
||||
.on(Submit, move |ctx| {
|
||||
let content = ctx.ui.text(ctx.id).take();
|
||||
let content = ctx.id.edit(ctx.ui).take();
|
||||
let text = wtext(content)
|
||||
.editable(false)
|
||||
.size(30)
|
||||
|
||||
Reference in new issue
Block a user