Fix some TGUI stuffs

Weh
This commit is contained in:
nevimer
2026-03-18 13:09:50 -04:00
parent 7b16984def
commit cb7d2ab1e6
6 changed files with 22 additions and 24 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 28 KiB

+12 -12
View File
@@ -14,18 +14,18 @@
}
:root {
--tg-air-tank-slash: "\ea01";
--tg-air-tank: "\ea02";
--tg-bad-touch: "\ea03";
--tg-image-minus: "\ea04";
--tg-image-plus: "\ea05";
--tg-nanotrasen-logo: "\ea06";
--tg-non-binary: "\ea07";
--tg-prosthetic-full: "\ea08";
--tg-prosthetic-leg: "\ea09";
--tg-sound-minus: "\ea0a";
--tg-sound-plus: "\ea0b";
--tg-syndicate-logo: "\ea0c";
--tg-air-tank-slash: "ea01";
--tg-air-tank: "ea02";
--tg-bad-touch: "ea03";
--tg-image-minus: "ea04";
--tg-image-plus: "ea05";
--tg-nanotrasen-logo: "ea06";
--tg-non-binary: "ea07";
--tg-prosthetic-full: "ea08";
--tg-prosthetic-leg: "ea09";
--tg-sound-minus: "ea0a";
--tg-sound-plus: "ea0b";
--tg-syndicate-logo: "ea0c";
}
.tg-air-tank-slash::before {
content: var(--tg-air-tank-slash);
@@ -260,7 +260,7 @@ export const PlayerPanel = () => {
<Tabs vertical>
{PAGES.map((page, i) => {
if (page.canAccess && !page.canAccess(data)) {
return;
return <Tabs.Tab />;
}
return (
@@ -253,11 +253,11 @@ const ContractsTab = (props) => {
data.ongoing_contract &&
contract.status !== CONTRACT_STATUS_ACTIVE
) {
return;
return CONTRACT_STATUS_INACTIVE;
}
const active = contract.status > CONTRACT_STATUS_INACTIVE;
if (contract.status >= CONTRACT_STATUS_COMPLETE) {
return;
return CONTRACT_STATUS_COMPLETE;
}
return (
<Section
@@ -384,15 +384,13 @@ export const ZubbersStorytellerEventPanelCategory = (
{Object.entries(current.events)
.sort((a, b) => b[1].weight - a[1].weight)
.map(([event_type, event]) => {
if (Boolean(event.roundstart) === roundstart) {
return (
<ZubbersStorytellerEvent
key={event_type}
type={event_type}
event={event}
/>
);
}
return (
<ZubbersStorytellerEvent
key={event_type}
type={event_type}
event={event}
/>
);
})}
</>
);