mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-16 11:20:12 +02:00
Fix button press distance
This commit is contained in:
parent
e8af4bdb2d
commit
63074ad928
1 changed files with 1 additions and 1 deletions
|
@ -594,13 +594,13 @@ ToolsMenu = function (side, leftInputs, rightInputs, uiCommandCallback) {
|
|||
},
|
||||
|
||||
BUTTON_UI_ELEMENTS = ["button", "newButton", "menuButton", "toggleButton", "newToggleButton", "swatch"],
|
||||
BUTTON_PRESS_DELTA = { x: 0, y: 0, z: -0.8 * UIT.dimensions.buttonDimensions.z },
|
||||
|
||||
SLIDER_UI_ELEMENTS = ["barSlider", "imageSlider"],
|
||||
COLOR_CIRCLE_UI_ELEMENTS = ["colorCircle"],
|
||||
MENU_HOVER_DELTA = { x: 0, y: 0, z: 0.006 },
|
||||
OPTION_HOVER_DELTA = { x: 0, y: 0, z: 0.002 },
|
||||
PICKLIST_HOVER_DELTA = { x: 0, y: 0, z: 0.006 },
|
||||
BUTTON_PRESS_DELTA = { x: 0, y: 0, z: -0.002 },
|
||||
|
||||
MIN_BAR_SLIDER_DIMENSION = 0.0001, // Avoid visual artifact for 0 slider values.
|
||||
|
||||
|
|
Loading…
Reference in a new issue