mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-13 21:40:00 -08:00
Continuumatrice: adjust extra pile geometry and add built-in icon resources
This commit is contained in:
parent
21f574ca7c
commit
3df441195d
1 changed files with 1 additions and 1 deletions
|
|
@ -290,7 +290,7 @@ void PlayerGraphicsItem::processSceneSizeChange(int newPlayerWidth)
|
||||||
{
|
{
|
||||||
// Extend table (and hand, if horizontal) to accommodate the new player width.
|
// Extend table (and hand, if horizontal) to accommodate the new player width.
|
||||||
qreal tableWidth = newPlayerWidth - CardDimensions::HEIGHT_F - 15 - counterAreaWidth -
|
qreal tableWidth = newPlayerWidth - CardDimensions::HEIGHT_F - 15 - counterAreaWidth -
|
||||||
stackZoneGraphicsItem->boundingRect().width();
|
EXTRA_PILE_COLUMN_WIDTH - stackZoneGraphicsItem->boundingRect().width();
|
||||||
if (!SettingsCache::instance().userInterface().getHorizontalHand()) {
|
if (!SettingsCache::instance().userInterface().getHorizontalHand()) {
|
||||||
tableWidth -= handZoneGraphicsItem->boundingRect().width();
|
tableWidth -= handZoneGraphicsItem->boundingRect().width();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue