Summary: | Multiple piles can be simultaneously hightlighted when dragging cards. | ||
---|---|---|---|
Product: | [Applications] kpat | Reporter: | Parker Coates <coates> |
Component: | general | Assignee: | Stephan Kulow <coolo> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | davidben, kde-games-bugs |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Unspecified | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Patch to reuse the same code for drops and highlights in DealerScene. |
Description
Parker Coates
2008-12-02 21:10:12 UTC
Created attachment 29003 [details]
Patch to reuse the same code for drops and highlights in DealerScene.
*** Bug 177283 has been marked as a duplicate of this bug. *** applied your patch has an ugly side effect: cards don't move back to their origin pile. SVN commit 902245 by coolo: Parker forgot one else CCBUG: 176740 M +1 -0 dealer.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=902245 SVN commit 906434 by coates: Stephan forgot to actually add the else in his "Parker forgot one else" commit. ;) Not callling moveCardsBack caused misdropped cards to stay floating out in the middle of nowhere. Calling moveCardsBack everytime caused the card drop animation to be skipped as noticed by Matthew Woehlke. I believe this change represents the desired behaviour. CCBUG: 176740 M +4 -1 dealer.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=906434 Yes, smooth drop is working again. Thanks for the quick fix! |