mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-04-07 14:06:16 +08:00
Fix scrolling canvas
This commit is contained in:
@ -114,8 +114,11 @@ define([
|
||||
if (e.target.localName == 'canvas') {
|
||||
if (me._preventClick)
|
||||
me._preventClick = false;
|
||||
else
|
||||
else {
|
||||
if (e.target.getAttribute && e.target.getAttribute("oo_no_focused"))
|
||||
return;
|
||||
me.boxSdk.focus();
|
||||
}
|
||||
}
|
||||
});
|
||||
this.boxSdk.on('mousedown', function(e){
|
||||
|
||||
Reference in New Issue
Block a user