From a748a1c2a24c097e3a4913e1b14248b49d828c0b Mon Sep 17 00:00:00 2001 From: Luke De Feo Date: Fri, 29 Sep 2023 09:03:38 -0700 Subject: [PATCH] Accessibility mode tweaks Summary: The run through indexes could be cut off when they were elements that touched the left edge of the screen. If label was complete obscured when it was on the top left Also index 0 was missing changelog: UIDebugger: improvements to iOS Accessibility mode Reviewed By: zats Differential Revision: D49704398 fbshipit-source-id: cb069857a9175f2c1a8157f41fe6d83fb96f795d --- .../ui-debugger/components/visualizer/Visualization2D.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/desktop/plugins/public/ui-debugger/components/visualizer/Visualization2D.tsx b/desktop/plugins/public/ui-debugger/components/visualizer/Visualization2D.tsx index 396cfa64e..89e682ae8 100644 --- a/desktop/plugins/public/ui-debugger/components/visualizer/Visualization2D.tsx +++ b/desktop/plugins/public/ui-debugger/components/visualizer/Visualization2D.tsx @@ -252,6 +252,7 @@ export const Visualization2D: React.FC< node={focusState.focusedRoot} onSelectNode={onSelectNode} traversalMode={traversalMode} + runThroughIndex={0} /> @@ -356,8 +357,6 @@ function Visualization2DNode({