mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Fix preview frames scrollers
They were not properly updated when content was re-becoming smaller than the scroller.
This commit is contained in:
parent
4208e40c24
commit
765f75f255
@ -56,10 +56,10 @@
|
|||||||
if (scrollBottom > treshold) {
|
if (scrollBottom > treshold) {
|
||||||
overflowBottom = true;
|
overflowBottom = true;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
var wrapper = $('#preview-list-wrapper');
|
var wrapper = $('#preview-list-wrapper');
|
||||||
wrapper.toggleClass('top-overflow-visible', overflowTop);
|
wrapper.toggleClass('top-overflow-visible', overflowTop);
|
||||||
wrapper.toggleClass('bottom-overflow-visible', overflowBottom);
|
wrapper.toggleClass('bottom-overflow-visible', overflowBottom);
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
ns.PreviewFilmController.prototype.createPreviews_ = function () {
|
ns.PreviewFilmController.prototype.createPreviews_ = function () {
|
||||||
|
Loading…
Reference in New Issue
Block a user