X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=SCX%2FGUI.pm;h=3ad230cfd5e08f4d8ff10196fdd00efabeed1d9b;hb=b78e60e309a2ae2eb0197f866f7febd2b7cafa5c;hp=af9f769493d4ae7bdca18409ed15ac0589b79106;hpb=c54ae2a857087ca405826081955dcdef81abc7bb;p=slotcarman.git diff --git a/SCX/GUI.pm b/SCX/GUI.pm index af9f769..3ad230c 100755 --- a/SCX/GUI.pm +++ b/SCX/GUI.pm @@ -293,9 +293,13 @@ sub set_laptime { } sub set_best_lap { - my ($self, $row, $text) = @_; + my ($self, $row, $text, $overall_best) = @_; - $self->set_label('label_best_lap', $row, format_lap_time($text)); + $text = format_lap_time($text); + if ($overall_best) { + $text = '' . $text . ''; + } + $self->set_label('label_best_lap', $row, $text); } sub set_name {