Remove some unused code

Contributes to CL-1165
This commit is contained in:
Ian Paschal 2019-01-10 15:55:25 +01:00
parent 612b0d0165
commit 3377ed0e6e

View File

@ -214,13 +214,6 @@ Popup
break break
case "down": case "down":
availableSpace = targetPosition.y availableSpace = targetPosition.y
// if (availableSpace < realHeight)
// {
// if (direction != originalDirection)
// {
// }
// }
direction = availableSpace < realHeight ? "up" : originalDirection direction = availableSpace < realHeight ? "up" : originalDirection
break break
case "right": case "right":