Skip to content

Commit

Permalink
Fixed insert() behavior for certain edge cases.
Browse files Browse the repository at this point in the history
  • Loading branch information
ovidiuiliescu committed Mar 17, 2014
1 parent b2182ac commit efaa24d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -653,6 +653,8 @@ public void insert(int frameOrientation, int index, Item item)
if (frame != null)
{
frame.add(index, item);
} else {
append(frameOrientation,item);
}
}

Expand Down Expand Up @@ -915,7 +917,7 @@ public void focusByAction(int gameAction, Container cont)
* @param gameAction the gameAction
* @return the next frame
*/
Container getNextFrame(int gameAction)
protected Container getNextFrame(int gameAction)
{
Container newFrame = null;
if (this.currentlyActiveContainer == this.container ) {
Expand Down

0 comments on commit efaa24d

Please sign in to comment.