Removed repeating code statement.

This commit is contained in:
Maxim Khlobystov 2014-09-10 18:12:36 -07:00
parent 4e5871dd8e
commit c1443c45e0

View File

@ -43,7 +43,6 @@ class @WhiteboardRectModel extends WhiteboardToolModel
square = startingData.square
if @obj?
[x1, x2] = [x2, x1] if x2 < x1
[x1, x2] = [x2, x1] if x2 < x1
if y2 < y1
[y1, y2] = [y2, y1]