From 093ab4e7eb2184aa9ec73f73a8ef2c8d0bef740a Mon Sep 17 00:00:00 2001 From: "Mr. Stallion" Date: Thu, 4 Jul 2019 14:34:21 -0500 Subject: [PATCH] Image preview toolbar and sticky mode --- bbcode/UrlTagView.vue | 6 + chat/ImagePreview.vue | 235 +++++++++++++++++++++---- chat/image-preview-mutator.ts | 212 ++++++++++++++++------ readme.md | 4 + site/character_page/character_page.vue | 15 +- site/character_page/kinks.vue | 8 + site/character_page/match-report.vue | 21 ++- 7 files changed, 400 insertions(+), 101 deletions(-) diff --git a/bbcode/UrlTagView.vue b/bbcode/UrlTagView.vue index 0c65db4..8b262eb 100644 --- a/bbcode/UrlTagView.vue +++ b/bbcode/UrlTagView.vue @@ -10,6 +10,7 @@ @mouseenter="show()" @mouseleave="dismiss()" @mouseout="dismiss()" + @click.middle.prevent="toggleStickyness()" >{{text}} diff --git a/chat/ImagePreview.vue b/chat/ImagePreview.vue index 5c12b52..9382252 100644 --- a/chat/ImagePreview.vue +++ b/chat/ImagePreview.vue @@ -1,6 +1,13 @@