view + a bunch of fixes or smth idek man
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -109,7 +106,7 @@ impl DefaultAppState for Client {
|
||||
.text_align(Align::LEFT)
|
||||
.size(30)
|
||||
.attr::<Selectable>(())
|
||||
.on(Submit, move |ctx| {
|
||||
.on(iris::winit::Submit, move |ctx| {
|
||||
let content = ctx.widget.get_mut().take();
|
||||
let text = wtext(content)
|
||||
.editable(false)
|
||||
|
||||
Reference in New Issue
Block a user