Bumped some display limits

This commit is contained in:
emeric
2021-05-20 00:06:35 +02:00
parent dc829b3ef8
commit 4126bb6d0f
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ namespace UserInterface
void addSome(); void addSome();
static constexpr std::size_t _batchSize {30}; static constexpr std::size_t _batchSize {30};
static constexpr std::size_t _maxCount {128}; static constexpr std::size_t _maxCount {256};
InfiniteScrollingContainer* _container {}; InfiniteScrollingContainer* _container {};
ArtistCollector _artistCollector; ArtistCollector _artistCollector;
+1 -1
View File
@@ -50,7 +50,7 @@ namespace UserInterface
static constexpr std::size_t _maxItemsPerLine {6}; static constexpr std::size_t _maxItemsPerLine {6};
static constexpr std::size_t _batchSize {_maxItemsPerLine}; static constexpr std::size_t _batchSize {_maxItemsPerLine};
static constexpr std::size_t _maxCount {_maxItemsPerLine * 24}; static constexpr std::size_t _maxCount {_maxItemsPerLine * 32};
InfiniteScrollingContainer* _container {}; InfiniteScrollingContainer* _container {};
ReleaseCollector _releaseCollector; ReleaseCollector _releaseCollector;
+2 -2
View File
@@ -71,9 +71,9 @@ namespace UserInterface
}; };
static inline std::unordered_map<Mode, std::size_t> _maxCounts static inline std::unordered_map<Mode, std::size_t> _maxCounts
{ {
{Mode::Artist, 50}, {Mode::Artist, 64},
{Mode::Release, 60}, {Mode::Release, 60},
{Mode::Track, 50}, {Mode::Track, 64},
}; };
std::size_t getBatchSize(Mode mode) const; std::size_t getBatchSize(Mode mode) const;
std::size_t getMaxCount(Mode mode) const; std::size_t getMaxCount(Mode mode) const;
+1 -1
View File
@@ -50,7 +50,7 @@ namespace UserInterface
static constexpr TrackCollector::Mode _defaultMode {TrackCollector::Mode::Random}; static constexpr TrackCollector::Mode _defaultMode {TrackCollector::Mode::Random};
static constexpr std::size_t _batchSize {6}; static constexpr std::size_t _batchSize {6};
static constexpr std::size_t _maxCount {128}; static constexpr std::size_t _maxCount {160};
InfiniteScrollingContainer* _container {}; InfiniteScrollingContainer* _container {};
TrackCollector _trackCollector; TrackCollector _trackCollector;