mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-05 21:13:55 -07:00
[Game][Player] Split Player into PlayerLogic/PlayerGraphicsItem
Took 4 minutes Took 58 seconds
This commit is contained in:
parent
80d141b6a4
commit
42deaa416a
1 changed files with 1 additions and 0 deletions
|
|
@ -476,6 +476,7 @@ void CardItem::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
|
|||
{
|
||||
if (event->button() == Qt::RightButton && owner != nullptr) {
|
||||
emit rightClicked(this, event->screenPos());
|
||||
return;
|
||||
}
|
||||
if ((event->modifiers() != Qt::AltModifier) && (event->button() == Qt::LeftButton) &&
|
||||
(!SettingsCache::instance().getDoubleClickToPlay())) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue