initial text impl

This commit is contained in:
iris committed 2025-08-23 21:15:39 -04:00
1 parent abcbc267b5
commit 5ce6fca275
33 files changed
+530 -117

No files matched your search

+6 -5
View File
@@ -1,4 +1,8 @@
use crate::{HashMap, Ui, UiRegion, Vec2, WidgetId, util::Id};
use crate::{
HashMap,
layout::{Ui, UiRegion, Vec2, WidgetId},
util::Id,
};
#[derive(Clone, Copy, PartialEq)]
pub enum Sense {
@@ -81,10 +85,7 @@ impl<Ctx> Ui<Ctx> {
for sensor in &mut group.sensors {
if should_run(sensor.sense, group.cursor, group.hover) {
(sensor.f.box_clone())(SenseCtx {
ui: self,
app: ctx,
});
(sensor.f.box_clone())(SenseCtx { ui: self, app: ctx });
}
}
}