algo/scrolling: adjust focus callbacks to be more intuitive

This commit is contained in:
Vaxry 2026-02-24 12:27:00 +00:00
parent be893a81b4
commit fbf67ef050
No known key found for this signature in database
GPG key ID: 665806380871D640
4 changed files with 36 additions and 15 deletions

View file

@ -63,7 +63,7 @@ namespace Layout::Tiled {
void centerStrip(size_t stripIndex, const CBox& usableArea, bool fullscreenOnOne = false);
void fitStrip(size_t stripIndex, const CBox& usableArea, bool fullscreenOnOne = false);
bool isStripVisible(size_t stripIndex, const CBox& usableArea, bool fullscreenOnOne = false) const;
bool isStripVisible(size_t stripIndex, const CBox& usableArea, bool fullscreenOnOne = false, bool full = false) const;
size_t getStripAtCenter(const CBox& usableArea, bool fullscreenOnOne = false) const;