view + a bunch of fixes or smth idek man

This commit is contained in:
2025-12-08 00:12:11 -05:00
parent b66d4da5d7
commit 434e3c3af7
18 changed files with 253 additions and 109 deletions

View File

@@ -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)