diff --git a/cockatrice/src/game_graphics/player/player_graphics_item.cpp b/cockatrice/src/game_graphics/player/player_graphics_item.cpp index ec4f27c33..a6f6d2e86 100644 --- a/cockatrice/src/game_graphics/player/player_graphics_item.cpp +++ b/cockatrice/src/game_graphics/player/player_graphics_item.cpp @@ -19,10 +19,6 @@ #include #include -// Minimum height the stack zone keeps when the command zone shares its vertical space, -// so the stack remains usable. Owned by this layout code, the sole consumer. -static constexpr qreal MINIMUM_STACKING_HEIGHT = 50.0; - PlayerGraphicsItem::PlayerGraphicsItem(PlayerLogic *_player) : player(_player) { connect(&SettingsCache::instance().userInterface(), &InterfaceSettings::horizontalHandChanged, this, @@ -319,9 +315,6 @@ void PlayerGraphicsItem::rearrangeZones() qreal stackHeight = tableHeight; if (commandZoneVisible) { stackHeight = tableHeight - totalCommandZoneHeight(); - if (stackHeight < MINIMUM_STACKING_HEIGHT) { - stackHeight = MINIMUM_STACKING_HEIGHT; - } } stackZoneGraphicsItem->setHeight(stackHeight);