Minor fix

This commit is contained in:
Kamran Ahmed
2018-03-20 20:27:01 +01:00
parent 51bbadc170
commit 7d734018a0
2 changed files with 2 additions and 2 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -214,7 +214,7 @@ export default class Element {
// Because if the element has any of these positions, making it
// relative will break the UI
return !avoidPositionsList.includes(currentPosition);
return avoidPositionsList.indexOf(currentPosition) !== -1;
}
/**