[DE PE SSE] Fix bug 56029
This commit is contained in:
parent
42a1e0e1ee
commit
8a6b2a003c
|
@ -275,7 +275,7 @@ define([
|
|||
delta = event.deltaY;
|
||||
}
|
||||
|
||||
if ((event.ctrlKey || event.metaKey) && !event.altKey) {
|
||||
if (event.ctrlKey && !event.altKey) {
|
||||
if (delta < 0) {
|
||||
me.api.zoomOut();
|
||||
} else if (delta > 0) {
|
||||
|
|
|
@ -263,7 +263,7 @@ define([
|
|||
delta = event.deltaY;
|
||||
}
|
||||
|
||||
if ((event.ctrlKey || event.metaKey) && !event.altKey){
|
||||
if (event.ctrlKey && !event.altKey) {
|
||||
if (delta < 0)
|
||||
me.api.zoomOut();
|
||||
else if (delta > 0)
|
||||
|
|
|
@ -1719,7 +1719,7 @@ define([
|
|||
delta = e.deltaY;
|
||||
}
|
||||
|
||||
if ((e.ctrlKey || e.metaKey) && !e.altKey) {
|
||||
if (e.ctrlKey && !e.altKey) {
|
||||
var factor = this.api.asc_getZoom();
|
||||
if (delta < 0) {
|
||||
factor = Math.ceil(factor * 10)/10;
|
||||
|
|
Loading…
Reference in a new issue