Skip to content

Commit

Permalink
overlay util: mark explicit fallthrough in transformPosition
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam- committed Jun 16, 2018
1 parent 52447b5 commit e06f701
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ public static java.awt.Point transformPosition(OverlayPosition position, Dimensi
case BOTTOM_RIGHT:
case ABOVE_CHATBOX_RIGHT:
result.y = result.y - dimension.height;
// FALLTHROUGH
case TOP_RIGHT:
result.x = result.x - dimension.width;
break;
Expand Down

0 comments on commit e06f701

Please sign in to comment.