You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The basic requirements for stack expansion remain the same as illustrated in #4. However, since then it has come to light that there is a literal edge case for this functionality. When a stack would normally expand beyond the edge of the canvas, the stack must instead only partially expand in order to prevent cards from being occluded.
To proper avoidance behavior is to emulate the act of dealing from a deck of playing cards. A card is removed from the top of the stack and placed on it's own in the expanding area. This process is repeated, and as a new card is removed from the top it is set down nearest the stack. This will cause the previous card in that position to one card position farther from the stack. This process continues until either all cards are fully expanded from the stack, or the edge has been reached. The following illustration demonstrates this design:
The text was updated successfully, but these errors were encountered:
PR #53 provides most of the functionality previously found in #4. However, the order of expansion and location of the remaining stacked cards is not correctly. It currently creates a new stack to the far-right of the expansion area and adds what would have been the unstacked cards into this new stack. Please update this PR to meet this design requirement.
The basic requirements for stack expansion remain the same as illustrated in #4. However, since then it has come to light that there is a literal edge case for this functionality. When a stack would normally expand beyond the edge of the canvas, the stack must instead only partially expand in order to prevent cards from being occluded.
To proper avoidance behavior is to emulate the act of dealing from a deck of playing cards. A card is removed from the top of the stack and placed on it's own in the expanding area. This process is repeated, and as a new card is removed from the top it is set down nearest the stack. This will cause the previous card in that position to one card position farther from the stack. This process continues until either all cards are fully expanded from the stack, or the edge has been reached. The following illustration demonstrates this design:
The text was updated successfully, but these errors were encountered: