Spacing is correct
This commit is contained in:
1 parent
3b13af099f
commit
31ea8009ba
2 files changed
+5
-13
No files matched your search
@@ -204,22 +204,14 @@ function newConditionEditor () {
|
||||
}
|
||||
|
||||
function initializePickersSet (logicOperand, comparisonOperand, algebraOperand) {
|
||||
/* Get the ySign */
|
||||
let yComparisionSign
|
||||
if (comparisonOperand.index === 0) {
|
||||
yComparisionSign = -1
|
||||
}
|
||||
if (comparisonOperand.index === 1) {
|
||||
yComparisionSign = 1
|
||||
}
|
||||
const ALGEBRA_SEPARATION = 60
|
||||
const COMPARISON_SEPARATION = ALGEBRA_SEPARATION * 2
|
||||
const LOGIC_SEPARATION = COMPARISON_SEPARATION * 2
|
||||
|
||||
const LOGIC_SEPARATION = 300
|
||||
const COMPARISON_SEPARATION = 150
|
||||
const ALGEBRA_SEPARATION = 50
|
||||
let properties
|
||||
let parent
|
||||
let current
|
||||
let yOffset = (logicOperand.index - 1) * LOGIC_SEPARATION + yComparisionSign * COMPARISON_SEPARATION + (algebraOperand.index - 1) * ALGEBRA_SEPARATION
|
||||
let yOffset = (logicOperand.index - 1) * LOGIC_SEPARATION + (comparisonOperand.index - 0.5) * COMPARISON_SEPARATION + (algebraOperand.index - 0.5) * ALGEBRA_SEPARATION
|
||||
|
||||
algebraOperand.whenPicker = newPicker()
|
||||
algebraOperand.whenPicker.name = 'When'
|
||||
|
||||
@@ -26,7 +26,7 @@ function newPicker () {
|
||||
thisObject.container.frame.position.x = 0
|
||||
thisObject.container.frame.position.y = 0
|
||||
thisObject.container.frame.width = 150
|
||||
thisObject.container.frame.height = 75
|
||||
thisObject.container.frame.height = 60
|
||||
|
||||
let isMouseOver
|
||||
let optionsList
|
||||
|
||||
Reference in new issue
Block a user