Skip to content

Commit

Permalink
added tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
hislittlecuzingames committed Feb 8, 2024
1 parent 6e5fb10 commit 2dc6c5d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tgui/packages/tgui/interfaces/DropshipFlightControl.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useBackend, useSharedState } from '../backend';
import { Window } from '../layouts';
import { Box, Button, Flex, Icon, ProgressBar, Section, Stack } from '../components';
import { Box, Button, Flex, Icon, ProgressBar, Section, Stack, Tooltip } from '../components';
import { LaunchButton, CancelLaunchButton, DisabledScreen, InFlightCountdown, LaunchCountdown, NavigationProps, ShuttleRecharge, DockingPort } from './NavigationShuttle';

interface DoorStatus {
Expand Down Expand Up @@ -69,6 +69,12 @@ const DropshipDoorControl = () => {
)}
</>
))}>
<Tooltip
position="bottom"
content="Aft - Rear ; Port - Left ; Starboard - Right">
<Box position="relative"> Info </Box>
</Tooltip>

<Stack className="DoorControlStack">
{data.door_status
.filter((x) => x.id !== 'all')
Expand Down

0 comments on commit 2dc6c5d

Please sign in to comment.