Mac bug refixed
This commit is contained in:
1 parent
12568602aa
commit
51fcc0446a
3 files changed
+4
-2
No files matched your search
@@ -200,12 +200,13 @@ function newViewport () {
|
||||
if (thisObject.visible === false) { return }
|
||||
if ((event.ctrlKey === true || event.metaKey === true)) { return }
|
||||
let morePower = 1
|
||||
let amount = event.delta
|
||||
|
||||
if (IS_MAC) {
|
||||
event.delta = event.delta * MAC_AMOUNT_FACTOR
|
||||
}
|
||||
|
||||
let amount = event.delta
|
||||
|
||||
if (event.buttons === 4) { morePower = 2 } // Mouse wheel pressed.
|
||||
/* We adjust the sensitivity for Mac Users */
|
||||
|
||||
|
||||
@@ -49,6 +49,7 @@ function newChartingSpace () {
|
||||
function reset () {
|
||||
finalize()
|
||||
initialSetup()
|
||||
isInitialized = false
|
||||
initialize()
|
||||
}
|
||||
|
||||
|
||||
@@ -121,7 +121,7 @@ function newSystemEventHandler () {
|
||||
}
|
||||
|
||||
if (thisObject.isConnected() !== true) {
|
||||
canvas.cockpitSpace.setStatus('Lost connection with the local backend. Please check that all localhost servers are running.', 100, canvas.cockpitSpace.statusTypes.WARNING)
|
||||
canvas.cockpitSpace.setStatus('Connection with the local backend lost. Please check that all localhost servers are running.', 100, canvas.cockpitSpace.statusTypes.WARNING)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user