refactor: extract CARD_HEIGHT to shared CardDimensions header

Move duplicated CARD_WIDTH/CARD_HEIGHT constants to card_dimensions.h.
  Fixed documentation in z_value_layer_manager.h.
This commit is contained in:
DawnFire42 2026-03-05 13:54:41 -05:00
parent 5943ae3427
commit 630272c019
No known key found for this signature in database
GPG key ID: 24BB855EE2911B33
18 changed files with 96 additions and 70 deletions

View file

@ -56,7 +56,7 @@ void HandZone::handleDropEvent(const QList<CardDragItem *> &dragItems,
QRectF HandZone::boundingRect() const
{
if (SettingsCache::instance().getHorizontalHand())
return QRectF(0, 0, width, CARD_HEIGHT + 10);
return QRectF(0, 0, width, CardDimensions::HEIGHT + 10);
else
return QRectF(0, 0, 100, zoneHeight);
}