changed small scaling to be 5:3 with rounding
This commit is contained in:
parent
05e1bd48e0
commit
0236f702b4
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ impl Flag {
|
|||
Flag::Stripes(colors)
|
||||
=> {
|
||||
let count = colors.len() as u16;
|
||||
let (width, height) = state.size.get(count * 3, count);
|
||||
let (width, height) = state.size.get((count * 20 + 3) / 6, count);
|
||||
if height < count { error::too_small(width, height); }
|
||||
fg_stripes(colors, width, height)
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue