From c9cbc8a18c53a64e008666e2a7f8a63f2d2f8645 Mon Sep 17 00:00:00 2001 From: Bloop <13398309+vinylspiders@users.noreply.github.com> Date: Mon, 13 Jul 2026 22:59:02 -0400 Subject: [PATCH] Adds an opacity fade out to the new character slot assignment thing (#96952) ## About The Pull Request
How it looks in-game j69wIUZnjS
## Why It's Good For The Game Some servers that run with more available slots will run into an issue of this menu blocking some of the jobs from being dragged onto. This just hides it out of the way while they are dragging. ## Changelog :cl: qol: the character job slot assignment menu will fade out while you are dragging a character, to allow you to access jobs that might render behind it /:cl: --- .../CharacterPreferences/JobsPage.tsx | 21 +++++++++++-------- .../styles/interfaces/PreferencesMenu.scss | 14 +++++++++++++ 2 files changed, 26 insertions(+), 9 deletions(-) diff --git a/tgui/packages/tgui/interfaces/PreferencesMenu/CharacterPreferences/JobsPage.tsx b/tgui/packages/tgui/interfaces/PreferencesMenu/CharacterPreferences/JobsPage.tsx index 41ed224eb31..5a614c35f45 100644 --- a/tgui/packages/tgui/interfaces/PreferencesMenu/CharacterPreferences/JobsPage.tsx +++ b/tgui/packages/tgui/interfaces/PreferencesMenu/CharacterPreferences/JobsPage.tsx @@ -439,12 +439,13 @@ function JoblessRoleDropdown(props) { } type CharacterSectionsProps = { + dragging: number; setDragging: (dragging: number) => void; setHoveringOver: (hoveringOver: string) => void; }; function CharacterSection(props: CharacterSectionsProps) { - const { setDragging, setHoveringOver } = props; + const { dragging, setDragging, setHoveringOver } = props; const { data } = useBackend(); const { character_profiles } = data; @@ -455,13 +456,10 @@ function CharacterSection(props: CharacterSectionsProps) { placement="bottom-end" content={ @@ -478,7 +476,11 @@ function CharacterSection(props: CharacterSectionsProps) {