@worktile/theia 3.0.11 → 3.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/worktile-theia.umd.js +1 -1
- package/bundles/worktile-theia.umd.js.map +1 -1
- package/esm2015/plugins/image/image.component.js +2 -2
- package/fesm2015/worktile-theia.js +1 -1
- package/fesm2015/worktile-theia.js.map +1 -1
- package/package.json +1 -1
- package/plugins/image/image.component.d.ts +1 -1
|
@@ -3490,7 +3490,7 @@
|
|
|
3490
3490
|
};
|
|
3491
3491
|
TheImageComponent.prototype.preview = function ($event) {
|
|
3492
3492
|
var _this = this;
|
|
3493
|
-
if (this.readonly || this.isCollapsed) {
|
|
3493
|
+
if ((this.readonly || this.isCollapsed) && $event.button === 0) {
|
|
3494
3494
|
var images = getAllNodesByType(this.editor.children, exports.ElementKinds.image);
|
|
3495
3495
|
var previewImages = images.map(function (item) {
|
|
3496
3496
|
return {
|