From 8cc510c5d2b46bdb0045b8080f29617a6b8c56a5 Mon Sep 17 00:00:00 2001 From: _Lighty_ <49841131+1Lighty@users.noreply.github.com> Date: Fri, 24 Apr 2020 06:34:37 +0200 Subject: [PATCH] BIV v1.3.3 --- .../BetterImageViewer.plugin.js | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/Plugins/BetterImageViewer/BetterImageViewer.plugin.js b/Plugins/BetterImageViewer/BetterImageViewer.plugin.js index 0fe0f91..f3523d1 100644 --- a/Plugins/BetterImageViewer/BetterImageViewer.plugin.js +++ b/Plugins/BetterImageViewer/BetterImageViewer.plugin.js @@ -37,26 +37,16 @@ var BetterImageViewer = (() => { twitter_username: '' } ], - version: '1.3.2', + version: '1.3.3', description: 'Move between images in the entire channel with arrow keys, image zoom enabled by clicking and holding, scroll wheel to zoom in and out, hold shift to change lens size. Image previews will look sharper no matter what scaling you have, and will take up as much space as possible.', github: 'https://github.com/1Lighty', github_raw: 'https://raw.githubusercontent.com/1Lighty/BetterDiscordPlugins/master/Plugins/BetterImageViewer/BetterImageViewer.plugin.js' }, changelog: [ - { - title: '1.3.2 fixes', - type: 'fixed', - items: ['Fixed zoom jitter if movement smoothing is disabled.'] - }, { title: 'fixed', type: 'fixed', - items: ["Fixed images being clipped at the bottom if there isn't enough screen height.", 'Fixed image zoom jitter when changing zoom level, or changing lens size.', "Fixed error being thrown when you update the plugin and don't switch channels before opening an image.", 'Fixed some objects and strings escaping to the DOM tree.', 'Fixed possible Discord crashers.', 'Fixed changelog not being big enough for some people.', 'Fixed sometimes getting locked in place if you opened an image but there is only 1 image available, and search not triggering.', 'Fixed forward search being jank and skipping tons of messages, or not working well at all.'] - }, - { - title: 'improved', - type: 'improved', - items: ['Improved image zoom performance (hopefully).', 'Plugin should now inherit search options. Say you search for `from:Lighty` and you open an image from the search results, the plugin will inherit that option so when you navigate between the images, it will only display images that match those search options.'] + items: ['Fix search API error.'] } ], defaultConfig: [ @@ -641,7 +631,7 @@ var BetterImageViewer = (() => { })(); const TimingModule = WebpackModules.getByProps('DelayedCall'); - const APIEncodeModule = WebpackModules.getByProps('stringify'); + const APIEncodeModule = WebpackModules.getByProps('stringify', 'parse', 'encode'); const ImageModal = WebpackModules.getByDisplayName('ImageModal'); const ImageProps = ['height', 'width', 'original', 'placeholder', 'src']; const UsernameClassname = XenoLib.getClass('botTag username');