Remove explicit z-value from command zone like other zones

This commit is contained in:
DawnFire42 2026-08-10 16:36:43 -04:00
parent 1c82d972ae
commit cf9a4e9a02
No known key found for this signature in database
GPG key ID: 24BB855EE2911B33
2 changed files with 0 additions and 4 deletions

View file

@ -131,7 +131,6 @@ void PlayerGraphicsItem::initializeZones()
// Command zone
commandZoneGraphicsItem = new CommandZone(player->getCommandZone(), ZoneSizes::COMMAND_ZONE_HEIGHT, this);
commandZoneGraphicsItem->setZValue(ZValues::COMMAND_ZONE);
commandZoneGraphicsItem->setVisible(false);
connect(commandZoneGraphicsItem, &CommandZone::minimizedChanged, this, &PlayerGraphicsItem::rearrangeZones);
connect(commandZoneGraphicsItem, &CommandZone::effectiveHeightChanged, this, &PlayerGraphicsItem::rearrangeZones);

View file

@ -29,9 +29,6 @@
namespace ZValues
{
/** @brief Command zone sits at standard zone level */
constexpr qreal COMMAND_ZONE = 1.0;
// Expose base for callers that need it
constexpr qreal OVERLAY_BASE = ZValueLayerManager::OVERLAY_BASE;