app: remove text1 refs from ChatView

This commit is contained in:
jkds
2026-01-05 12:34:47 +01:00
parent 2caeba1c5f
commit 0a8be750d3
4 changed files with 0 additions and 9 deletions

View File

@@ -560,7 +560,6 @@ pub async fn make(
chat_tree,
window_scale.clone(),
app.render_api.clone(),
app.text_shaper.clone(),
app.sg_root.clone(),
)
})

View File

@@ -364,7 +364,6 @@ pub async fn make(app: &App, window: SceneNodePtr, i18n_fish: &I18nBabelFish) {
chat_tree,
window_scale.clone(),
app.render_api.clone(),
app.text_shaper.clone(),
app.sg_root.clone(),
)
})

View File

@@ -47,7 +47,6 @@ use crate::{
PropertyFloat32, PropertyRect, PropertyUint32, Role,
},
scene::{MethodCallSub, Pimpl, SceneNodePtr, SceneNodeWeak},
text::TextShaperPtr,
ExecutorPtr,
};
@@ -196,7 +195,6 @@ impl ChatView {
tree: sled::Tree,
window_scale: PropertyFloat32,
render_api: RenderApi,
text_shaper: TextShaperPtr,
sg_root: SceneNodePtr,
) -> Pimpl {
let node_ref = &node.upgrade().unwrap();
@@ -254,7 +252,6 @@ impl ChatView {
debug,
window_scale,
render_api,
text_shaper,
)),
dc_key: OsRng.gen(),

View File

@@ -38,7 +38,6 @@ use crate::{
gfx::{gfxtag, DrawInstruction, ManagedTexturePtr, Point, Rectangle, RenderApi},
mesh::{Color, MeshBuilder, COLOR_CYAN, COLOR_GREEN, COLOR_RED, COLOR_WHITE},
prop::{PropertyBool, PropertyColor, PropertyFloat32, PropertyPtr},
text::{TextShaper, TextShaperPtr},
text2,
util::enumerate_mut,
};
@@ -725,7 +724,6 @@ pub struct MessageBuffer {
old_window_scale: f32,
render_api: RenderApi,
text_shaper: TextShaperPtr,
}
impl MessageBuffer {
@@ -743,7 +741,6 @@ impl MessageBuffer {
debug: PropertyBool,
window_scale: PropertyFloat32,
render_api: RenderApi,
text_shaper: TextShaperPtr,
) -> Self {
let old_window_scale = window_scale.get();
Self {
@@ -767,7 +764,6 @@ impl MessageBuffer {
old_window_scale,
render_api,
text_shaper,
}
}