1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-07-05 18:48:31 +00:00

4.0.0-rc4.2

* Fixed: Issue scrolling up with Smooth Scrolling enabled and Freeze on Hover disabled.
This commit is contained in:
SirStendec 2018-07-04 14:23:21 -04:00
parent 6201555da5
commit a23bc74ae4
3 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
<div class="list-header">4.0.0-rc4.2<span>@bfc82fd92a39871e75ff</span> <time datetime="2018-07-04">(2018-07-04)</time></div>
<ul class="chat-menu-content menu-side-padding">
<li>Fixed: Issue scrolling up with Smooth Scrolling for Chat enabled without Freeze on Hover.</li>
</ul>
<div class="list-header">4.0.0-rc4.1<span>@3f78ab6b5e2898f3756f</span> <time datetime="2018-07-04">(2018-07-04)</time></div>
<ul class="chat-menu-content menu-side-padding">
<li>Changed: Update the dark theme.</li>

View file

@ -100,7 +100,7 @@ class FrankerFaceZ extends Module {
FrankerFaceZ.Logger = Logger;
const VER = FrankerFaceZ.version_info = {
major: 4, minor: 0, revision: 0, extra: '-rc4.1',
major: 4, minor: 0, revision: 0, extra: '-rc4.2',
build: __webpack_hash__,
toString: () =>
`${VER.major}.${VER.minor}.${VER.revision}${VER.extra || ''}${DEBUG ? '-dev' : ''}`

View file

@ -274,7 +274,7 @@ export default class Scroller extends Module {
}
const smoothAnimation = () => {
if ( this.state.ffzFrozen )
if ( this.state.ffzFrozen || ! this.state.isAutoScrolling )
return this.ffz_is_smooth_scrolling = false;
// See how much time has passed to get a step based off the delta