fix: relayout notebook if any custom buttons change (#6328)

This commit is contained in:
pajlada
2025-07-12 15:52:41 +02:00
committed by GitHub
parent 627b6d806e
commit f2b438ab24
3 changed files with 30 additions and 9 deletions
+1 -1
View File
@@ -170,9 +170,9 @@ protected:
**/
bool shouldShowTab(const NotebookTab *tab) const;
private:
void performLayout(bool animate = false);
private:
struct LayoutContext {
int left = 0;
int right = 0;