mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-28 00:42:19 -07:00
Remove explicit z-value from command zone like other zones
This commit is contained in:
parent
1c82d972ae
commit
cf9a4e9a02
2 changed files with 0 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue