Commit 4cf59693d8bdb5d7a87237c030c90d42b611a701

Fix layout with expander not filling whole area
getBooked() for some reason returned 1, which reserved 1 column/row per
filler that was never distributed later.
Author: xaizek
Author date (UTC): 2022-07-31 21:47
Committer name: xaizek
Committer date (UTC): 2022-07-31 21:47
Parent(s): 72252be6da8ce4b7b989023c203564a9c3589bae
Signing key: 99DC5E4DB05F6BE2
Tree: 9a1ad6b86ae04c29c85e5dc45a17fc237872e7fd
File Lines added Lines deleted
Track.cpp 1 1
File Track.cpp changed (mode: 100644) (index 8790820..5b12730)
... ... doLayout(std::vector<int> lengths, int max)
103 103 auto getBooked = [&nFillers](int len) { auto getBooked = [&nFillers](int len) {
104 104 if (len <= -Range) { if (len <= -Range) {
105 105 ++nFillers; ++nFillers;
106 return 1;
106 return 0;
107 107 } }
108 108 return -len; return -len;
109 109 }; };
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/libcursed

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/libcursed

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master