mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
fixed mediaview in os x, added mac sign shell script, os x media overview supported
This commit is contained in:
@@ -629,7 +629,7 @@ void OverviewWidget::clear() {
|
||||
void OverviewWidget::onScroll() {
|
||||
MTP::clearLoaderPriorities();
|
||||
bool nearBottom = _scroll.scrollTop() + _scroll.height() * 5 > _scroll.scrollTopMax(), nearTop = _scroll.scrollTop() < _scroll.height() * 5;
|
||||
if (nearBottom && type() == OverviewPhotos || nearTop && type() != OverviewPhotos) {
|
||||
if ((nearBottom && type() == OverviewPhotos) || (nearTop && type() != OverviewPhotos)) {
|
||||
if (App::main()) {
|
||||
App::main()->loadMediaBack(peer(), type(), true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user