Compare commits
3 commits
e4bb7fc2b6
...
b0f722b42d
Author | SHA1 | Date | |
---|---|---|---|
b0f722b42d | |||
5d25bad6c6 | |||
17cd3b2df8 |
3 changed files with 6 additions and 3 deletions
|
@ -21,3 +21,7 @@ paste = "1.0.11"
|
||||||
serde = "1.0.152"
|
serde = "1.0.152"
|
||||||
serde_json = "1.0.91"
|
serde_json = "1.0.91"
|
||||||
ringbuf = "0.3.2"
|
ringbuf = "0.3.2"
|
||||||
|
|
||||||
|
[profile.release-lto]
|
||||||
|
inherits = "release"
|
||||||
|
lto = true
|
||||||
|
|
|
@ -17,7 +17,7 @@ build() {
|
||||||
cd ${_pkgbase}
|
cd ${_pkgbase}
|
||||||
|
|
||||||
# build binaries
|
# build binaries
|
||||||
cargo build --release
|
cargo build --profile release-lto
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
|
|
@ -215,9 +215,8 @@ impl LeaderBoard {
|
||||||
.child_at(0, self.leaderboard_entries.len() - 1)?
|
.child_at(0, self.leaderboard_entries.len() - 1)?
|
||||||
.is_none()
|
.is_none()
|
||||||
{
|
{
|
||||||
for (i, entry) in self.leaderboard_entries.iter().enumerate() {
|
for i in 0..self.leaderboard_grid.dimensions().1 {
|
||||||
self.leaderboard_grid.detach(0, i)?;
|
self.leaderboard_grid.detach(0, i)?;
|
||||||
entry.snippet().set_visibility(false)?;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
true
|
true
|
||||||
|
|
Loading…
Reference in a new issue