mirror of https://github.com/odrling/Aegisub
Fix calculation of the time column widths
Originally committed to SVN as r5734.
This commit is contained in:
parent
98786aecba
commit
b7efafe3b8
|
@ -868,8 +868,8 @@ void BaseGrid::SetColumnWidths() {
|
|||
int total = std::accumulate(colWidth, colWidth + 10, 0);
|
||||
colWidth[10] = w - total;
|
||||
|
||||
time_cols_x = labelLen + layerLen;
|
||||
time_cols_w = startLen + endLen;
|
||||
time_cols_x = colWidth[0] + colWidth[1];
|
||||
time_cols_w = colWidth[2] + colWidth[3];
|
||||
text_col_x = total;
|
||||
text_col_w = colWidth[10];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue