Skip to content

Commit

Permalink
fix(nd): svg vis attr always gets me
Browse files Browse the repository at this point in the history
  • Loading branch information
tracernz committed Dec 7, 2022
1 parent 1d14c8b commit 7baf94c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/instruments/src/ND/elements/TopMessages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const TopMessages: React.FC<TopMessagesProps> = ({ side, ppos, trueTrack,
</Layer>
<Layer x={384} y={56} visibility={trueRef ? 'visible' : 'hidden'}>
<TrueFlag xOffset={apprMsg === null && gridTrack !== null ? -40 : 0} box={apprMsg === null} />
<Layer x={0} y={0} visibility={apprMsg === null && gridTrack !== null ? 'visible' : 'hidden'}>
<Layer x={0} y={0} visibility={apprMsg === null && gridTrack !== null ? 'inherit' : 'hidden'}>
<GridTrack gridTrack={gridTrack ?? 0} />
</Layer>
</Layer>
Expand Down

0 comments on commit 7baf94c

Please sign in to comment.