Mac bug refixed

This commit is contained in:
Luis Fernando Molina committed 2020-03-29 08:53:12 +02:00
1 parent 12568602aa
commit 51fcc0446a
3 files changed
+4 -2

No files matched your search

+2 -1
View File
@@ -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 */
+1
View File
@@ -49,6 +49,7 @@ function newChartingSpace () {
function reset () {
finalize()
initialSetup()
isInitialized = false
initialize()
}
+1 -1
View File
@@ -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)
}
}