mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-29 17:54:36 +01:00
Format the Link Info accessibility diagnostics
This commit is contained in:
1 parent
d352b3a5bd
commit
6a78234af7
2 files changed
+20
-3
No files matched your search
@@ -102,7 +102,13 @@ pub(crate) fn copy_shown(ui: &mut Ui, shown: &egui::Response, value: &str) -> bo
|
||||
if value.contains("Überlagerung") {
|
||||
eprintln!(
|
||||
"LINK_LOCATION_COPY_BEFORE id={:?} role={:?} label={:?} value={:?} description={:?} bounds={:?} children={:?}",
|
||||
shown.id, node.role(), node.label(), node.value(), node.description(), node.bounds(), node.children()
|
||||
shown.id,
|
||||
node.role(),
|
||||
node.label(),
|
||||
node.value(),
|
||||
node.description(),
|
||||
node.bounds(),
|
||||
node.children()
|
||||
);
|
||||
}
|
||||
node.set_description(tl!("Copy"));
|
||||
@@ -110,7 +116,13 @@ pub(crate) fn copy_shown(ui: &mut Ui, shown: &egui::Response, value: &str) -> bo
|
||||
if value.contains("Überlagerung") {
|
||||
eprintln!(
|
||||
"LINK_LOCATION_COPY_AFTER id={:?} role={:?} label={:?} value={:?} description={:?} bounds={:?} children={:?}",
|
||||
shown.id, node.role(), node.label(), node.value(), node.description(), node.bounds(), node.children()
|
||||
shown.id,
|
||||
node.role(),
|
||||
node.label(),
|
||||
node.value(),
|
||||
node.description(),
|
||||
node.bounds(),
|
||||
node.children()
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -492,7 +492,12 @@ pub(crate) fn floated(mut app: VectorcraftApp, panel: &str, lang: &str, place: P
|
||||
let Some(node) = by_id.get(&id) else { continue };
|
||||
eprintln!(
|
||||
"LINK_LOCATION_FINAL lang={lang} id={id:?} role={:?} label={:?} value={:?} description={:?} bounds={:?} children={:?} tab_panel_ancestry={ancestry:?}",
|
||||
node.role(), node.label(), node.value(), node.description(), node.bounds(), node.children()
|
||||
node.role(),
|
||||
node.label(),
|
||||
node.value(),
|
||||
node.description(),
|
||||
node.bounds(),
|
||||
node.children()
|
||||
);
|
||||
for child in node.children() {
|
||||
let mut child_ancestry = ancestry.clone();
|
||||
|
||||
Reference in new issue
Block a user