update comic layout generator

This commit is contained in:
Shoofle 2016-06-29 15:01:40 -04:00 committed by GitHub
parent 503c3aa2f9
commit 8f193e5983

View File

@ -36,11 +36,15 @@ function split_types(panel) {
var aspect_ratio = get_aspect_ratio(panel);
if (aspect_ratio < 5) {
splits.push(split_vertical);
splits.push(split_vertical);
splits.push(split_vertical);
splits.push(multisplit_vertical);
}
if (aspect_ratio > 0.2) {
splits.push(split_horizontal);
splits.push(split_horizontal);
splits.push(split_horizontal);
splits.push(multisplit_horizontal);
}