Fixed a bug with filmstrip height when filtering; see issue 700
This commit is contained in:
@@ -639,7 +639,12 @@ int ThumbBrowserBase::getEffectiveHeight() {
|
|||||||
Glib::Mutex::Lock lock(entryMutex);
|
Glib::Mutex::Lock lock(entryMutex);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (fd.size()>0) h+=fd[0]->getEffectiveHeight();
|
// Filtered items do not change in size, so take a non-filtered
|
||||||
|
for (int i=0;i<fd.size();i++)
|
||||||
|
if (!fd[i]->filtered) {
|
||||||
|
h+=fd[i]->getEffectiveHeight();
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return h;
|
return h;
|
||||||
|
Reference in New Issue
Block a user