~novakane/rivercarro

662618c7217df55db7b04ca07b5893690c56c266 — Alex Qiu 5 months ago 499678f
Fix incorrect main width without smart gaps
1 files changed, 1 insertions(+), 1 deletions(-)

M src/main.zig
M src/main.zig => src/main.zig +1 -1
@@ 315,7 315,7 @@ const Output = struct {
                        if (i < main_count) {
                            x = 0;
                            y = (i * main_h) + if (i > 0) cfg.inner_gaps + main_h_rem else 0;
                            width = main_w - cfg.inner_gaps / 2;
                            width = if (sec_count > 0) main_w - cfg.inner_gaps / 2 else main_w;
                            height = (main_h + if (i == 0) main_h_rem else 0) -
                                if (i > 0) cfg.inner_gaps else 0;
                        } else {