Make Logs view optional
This commit is contained in:
parent
811b80fa27
commit
feed483646
2 changed files with 20 additions and 7 deletions
|
|
@ -947,7 +947,9 @@ export class Player extends React.Component {
|
|||
}
|
||||
|
||||
/* Send packet ts to the top */
|
||||
this.props.onTsChange(this.pkt.pos);
|
||||
if (this.props.logsEnabled) {
|
||||
this.props.onTsChange(this.pkt.pos);
|
||||
}
|
||||
this.setState({currentTsPost: parseInt(this.pkt.pos)});
|
||||
|
||||
/* Output the packet */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue