Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
2a6291dc
Commit
2a6291dc
authored
Jan 24, 2015
by
Gavin Bisesi
Browse files
Merge pull request #592 from poixen/tap_animation
Faster tapping speed
parents
2850e9e9
e409d96b
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/gamescene.cpp
View file @
2a6291dc
...
@@ -262,7 +262,7 @@ void GameScene::registerAnimationItem(AbstractCardItem *card)
...
@@ -262,7 +262,7 @@ void GameScene::registerAnimationItem(AbstractCardItem *card)
{
{
cardsToAnimate
.
insert
(
static_cast
<
CardItem
*>
(
card
));
cardsToAnimate
.
insert
(
static_cast
<
CardItem
*>
(
card
));
if
(
!
animationTimer
->
isActive
())
if
(
!
animationTimer
->
isActive
())
animationTimer
->
start
(
1
5
,
this
);
animationTimer
->
start
(
1
0
,
this
);
}
}
void
GameScene
::
unregisterAnimationItem
(
AbstractCardItem
*
card
)
void
GameScene
::
unregisterAnimationItem
(
AbstractCardItem
*
card
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment