Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

Commit

Permalink
Accessibility mode tweaks
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Luke De Feo authored and facebook-github-bot committed Sep 29, 2023
1 parent 62c2814 commit a748a1c
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ export const Visualization2D: React.FC<
node={focusState.focusedRoot}
onSelectNode={onSelectNode}
traversalMode={traversalMode}
runThroughIndex={0}
/>
</div>
</div>
Expand Down Expand Up @@ -356,8 +357,6 @@ function Visualization2DNode({
<div
style={{
position: 'relative',
left: '-10px',
top: '-7px',
width: '20px',
height: '14px',
fontFamily: 'monospace',
Expand Down

0 comments on commit a748a1c

Please sign in to comment.