mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 00:09:18 +02:00
minor bug fixes
This commit is contained in:
@@ -1003,10 +1003,8 @@ transcripts_panel::update() {
|
||||
text_lines.clear();
|
||||
|
||||
for( auto const &transcript : ui::Transcripts.aLines ) {
|
||||
if( Global.fTimeAngleDeg >= transcript.fShow ) {
|
||||
// NOTE: legacy transcript lines use | as new line mark
|
||||
text_lines.emplace_back( ExchangeCharInString( transcript.asText, '|', ' ' ), colors::white );
|
||||
}
|
||||
if( Global.fTimeAngleDeg + ( transcript.fShow - Global.fTimeAngleDeg > 180 ? 360 : 0 ) < transcript.fShow ) { continue; }
|
||||
text_lines.emplace_back( ExchangeCharInString( transcript.asText, '|', ' ' ), colors::white );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user