Bug Fixed
This commit is contained in:
1 parent
ef34ee96c9
commit
26d996101f
4 files changed
+7
-10
No files matched your search
@@ -145,17 +145,13 @@ function newTimeMachine () {
|
||||
timeScaleMouseOverEventSuscriptionId = thisObject.timeScale.container.eventHandler.listenToEvent('onMouseOver', timeScaleMouseOver)
|
||||
|
||||
function timeScaleMouseOver (event) {
|
||||
thisObject.rateScale.visible = false
|
||||
mouse.position.x = event.x
|
||||
mouse.position.y = event.y
|
||||
thisObject.container.eventHandler.raiseEvent('onMouseOver', event)
|
||||
}
|
||||
|
||||
rateScaleMouseOverEventSuscriptionId = thisObject.rateScale.container.eventHandler.listenToEvent('onMouseOver', rateScaleMouseOver)
|
||||
|
||||
function rateScaleMouseOver (event) {
|
||||
thisObject.timeScale.visible = false
|
||||
mouse.position.x = event.x
|
||||
mouse.position.y = event.y
|
||||
thisObject.container.eventHandler.raiseEvent('onMouseOver', event)
|
||||
}
|
||||
callBackFunction(GLOBAL.DEFAULT_OK_RESPONSE)
|
||||
}
|
||||
|
||||
@@ -199,6 +199,8 @@ function newTimelineChart () {
|
||||
function timeFrameScaleMouseOver (event) {
|
||||
mouse.position.x = event.x
|
||||
mouse.position.y = event.y
|
||||
|
||||
saveUserPosition(thisObject.container, timeLineCoordinateSystem, event)
|
||||
}
|
||||
|
||||
initializationReady = true
|
||||
|
||||
@@ -12,7 +12,7 @@ function newViewPort () {
|
||||
let ANIMATION_INCREMENT = 0.25
|
||||
|
||||
let TOP_MARGIN = 30 + TOP_SPACE_HEIGHT
|
||||
let BOTTOM_MARGIN = 30 + COCKPIT_SPACE_HEIGHT
|
||||
let BOTTOM_MARGIN = 32 + COCKPIT_SPACE_HEIGHT
|
||||
let LEFT_MARGIN = 50
|
||||
let RIGHT_MARGIN = 50
|
||||
let MARGINS = {
|
||||
@@ -83,7 +83,7 @@ function newViewPort () {
|
||||
|
||||
function resize () {
|
||||
TOP_MARGIN = 30 + TOP_SPACE_HEIGHT
|
||||
BOTTOM_MARGIN = 30 + browserCanvas.height - COCKPIT_SPACE_POSITION
|
||||
BOTTOM_MARGIN = 32 + browserCanvas.height - COCKPIT_SPACE_POSITION
|
||||
LEFT_MARGIN = 0
|
||||
RIGHT_MARGIN = 0
|
||||
MARGINS = {
|
||||
|
||||
+1
-2
@@ -15,8 +15,7 @@ function newTimeScale () {
|
||||
}
|
||||
|
||||
const LENGHT_PERCENTAGE_DEFAULT_VALUE = 5
|
||||
const STEP_SIZE = 5
|
||||
const MIN_HEIGHT = 50
|
||||
const STEP_SIZE = 2.5
|
||||
|
||||
thisObject.container = newContainer()
|
||||
thisObject.container.initialize(MODULE_NAME)
|
||||
|
||||
Reference in new issue
Block a user