From 732ee2bbb91cb151c8196a1dd93ed051480d3c5c Mon Sep 17 00:00:00 2001 From: PeekabooSteam Date: Mon, 6 Nov 2023 21:49:54 +0000 Subject: [PATCH] Added + for naval and ground units --- client/public/stylesheets/markers/units.css | 7 +++---- client/public/themes/olympus/images/icons/health.svg | 5 ++++- client/src/unit/unit.ts | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/client/public/stylesheets/markers/units.css b/client/public/stylesheets/markers/units.css index 0fc7848d..09f02d65 100644 --- a/client/public/stylesheets/markers/units.css +++ b/client/public/stylesheets/markers/units.css @@ -329,13 +329,12 @@ background-repeat: no-repeat; background-size: contain; content: " "; - filter: invert(100%); - height: 10px; + height: 6px; left: 0; position: absolute; top: 0; - translate: -11px -4px; - width: 10px; + translate: -10px -2px; + width: 6px; } diff --git a/client/public/themes/olympus/images/icons/health.svg b/client/public/themes/olympus/images/icons/health.svg index cc4a6622..850b69a3 100644 --- a/client/public/themes/olympus/images/icons/health.svg +++ b/client/public/themes/olympus/images/icons/health.svg @@ -1 +1,4 @@ - \ No newline at end of file + + + + diff --git a/client/src/unit/unit.ts b/client/src/unit/unit.ts index 983d4d27..6b22a6e0 100644 --- a/client/src/unit/unit.ts +++ b/client/src/unit/unit.ts @@ -1498,7 +1498,7 @@ export class NavyUnit extends Unit { return { showState: belongsToCommandedCoalition, showVvi: false, - showHealth: false, + showHealth: true, showHotgroup: true, showUnitIcon: (belongsToCommandedCoalition || this.getDetectionMethods().some(value => [VISUAL, OPTIC, RADAR, IRST, DLINK].includes(value))), showShortLabel: false,