Skip to content

Commit

Permalink
Unbroke loading chapters.
Browse files Browse the repository at this point in the history
Which was broken due to the work on the new translation systems.
  • Loading branch information
Ynscription committed Oct 20, 2019
1 parent 77b51bc commit 1c945a3
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions Manga Scan Helper/BackEnd/Text.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,20 +93,7 @@ public Text (Bitmap src, Rect rect) {
Vertical = src.Height >= src.Width;
}

[JsonConstructor]
public Text (Rect rectangle, bool vertical, bool parseInvalidated,
string parsedText, string googleTranslatedText, string bingTranslatedText,
string translatedText) {
Rectangle = rectangle;
Vertical = vertical;
_parseInvalidated = parseInvalidated;
ParsedText = parsedText;
GoogleTranslatedText = googleTranslatedText;
BingTranslatedText = bingTranslatedText;
TranslatedText = translatedText;

}


[JsonConstructor]
public Text (Rect rectangle, bool vertical, bool parseInvalidated,
string parsedText, string googleTranslatedText, string bingTranslatedText,
Expand Down

0 comments on commit 1c945a3

Please sign in to comment.