Skip to content
Snippets Groups Projects
Commit bcd188a0 authored by syuilo's avatar syuilo
Browse files

enhance(client): make possible to close image dialog with click

Related #8023
parent f38b6a18
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,7 @@
- API: /antennas/notes API で日付による絞り込みができるように
- クライアント: アンケートに投票する際に確認ダイアログを出すように
- クライアント: Renoteなノート詳細ページから元のノートページに遷移できるように
- クライアント: 画像ポップアップでクリックで閉じられるように
### Bugfixes
- クライアント: LTLやGTLが無効になっている場合でもUI上にタブが表示される問題を修正
......
......@@ -53,7 +53,16 @@ export default defineComponent({
gallery: gallery.value,
children: '.image',
thumbSelector: '.image',
pswpModule: PhotoSwipe
loop: false,
padding: {
top: 32,
bottom: 32,
left: 32,
right: 32,
},
imageClickAction: 'close',
tapAction: 'toggle-controls',
pswpModule: PhotoSwipe,
});
lightbox.on('itemData', (e) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment