chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b925df
)
otterlib: Show large objects a bit bigger
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 15 May 2022 01:48:44 +0000
(
02:48
+0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 15 May 2022 01:48:44 +0000
(
02:48
+0100)
This algorithm is a bit paants.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/bin/otterlib.rs
patch
|
blob
|
history
diff --git
a/src/bin/otterlib.rs
b/src/bin/otterlib.rs
index 4337245afe01d06f5394f722c62a1610599bcf32..ef66556bf15094cd585601cf56d0ca65ad5b47cf 100644
(file)
--- a/
src/bin/otterlib.rs
+++ b/
src/bin/otterlib.rs
@@
-92,7
+92,7
@@
fn preview(opts: &Opts, items: Vec<ItemForOutput>) {
self.size[0] >= 50.0
}
fn face_want_span(&self) -> usize {
- if self.large() {
4
} else { 1 }
+ if self.large() {
6
} else { 1 }
}
fn face_want_several(&self, face: RawFaceId) -> usize {
if self.large() || face >= 2 { 1 } else { SEVERAL }