pub fn update_editable_text_layout(
font_cx: ResMut<'_, FontCx>,
layout_cx: ResMut<'_, LayoutCx>,
scale_cx: ResMut<'_, ScaleCx>,
font_atlas_set: ResMut<'_, FontAtlasSet>,
textures: ResMut<'_, Assets<Image>>,
input_field_query: Query<'_, '_, (Entity, &TextFont, Ref<'_, FontHinting>, Ref<'_, ComputedUiRenderTargetInfo>, &mut EditableText, &mut TextLayoutInfo, Ref<'_, ComputedNode>, &mut EditableTextGeneration)>,
rem_size: Res<'_, RemSize>,
input_focus: Option<Res<'_, InputFocus>>,
cursor_timer: Local<'_, Duration>,
time: Res<'_, Time<Real>>,
)Expand description
Refreshes the EditableText’s layout if stale and then writes it
it to TextLayoutInfo for rendering and picking.
Adds required glyphs to the texture atlas