Commit 831c2a03 authored by Yay295's avatar Yay295

undo commit 22bf672d

It caused line breaks to stop working, and the issue it tried to solve should be mostly solved by commit 11637f30.
parent 11637f30
......@@ -2329,9 +2329,6 @@ let SubtitleManager = (function() {
megablock += currblock;
// Remove pieces that have no text.
pieces = pieces.filter(piece => piece.replace(/{[^}]*}/g,""));
// Convert piece text into a NewLinePiece.
let pieceNum = 0, newLine = => NewLinePiece(this, combineAdjacentBlocks(piece), ++pieceNum));
newLine.shattered = false;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment