Falling through is a dangerous pattern, let's not do it.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@116 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -68,9 +68,10 @@ public class PortalTool extends MouseInputAdapter
|
||||
switch (event.getButton()) {
|
||||
case MouseEvent.BUTTON1:
|
||||
savePortal();
|
||||
// fall through to BUTTON3
|
||||
break;
|
||||
|
||||
case MouseEvent.BUTTON3:
|
||||
savePortal();
|
||||
dispose();
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user