Skip to content
代码片段 群组 项目
提交 5f4fa942 编辑于 作者: AUTOMATIC's avatar AUTOMATIC
浏览文件

do not show full window image preview when right mouse button is used

上级 99b67cff
No related branches found
No related tags found
无相关合并请求
......@@ -149,7 +149,7 @@ function showGalleryImage() {
e.style.cursor='pointer'
e.style.userSelect='none'
e.addEventListener('mousedown', function (evt) {
if(!opts.js_modal_lightbox) return;
if(!opts.js_modal_lightbox || evt.button != 0) return;
modalZoomSet(gradioApp().getElementById('modalImage'), opts.js_modal_lightbox_initially_zoomed)
showModal(evt)
}, true);
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册