Fix speling.
This commit is contained in:
parent
3edf42e98e
commit
9486a629b3
1 changed files with 2 additions and 2 deletions
|
@ -179,7 +179,7 @@ sub new {
|
||||||
sub repaint {
|
sub repaint {
|
||||||
my ($self, $event) = @_;
|
my ($self, $event) = @_;
|
||||||
my $size = $self->GetClientSize;
|
my $size = $self->GetClientSize;
|
||||||
my $gab = 5;
|
my $gap = 5;
|
||||||
|
|
||||||
my $dc = Wx::PaintDC->new($self);
|
my $dc = Wx::PaintDC->new($self);
|
||||||
$dc->SetBackgroundMode(wxTRANSPARENT);
|
$dc->SetBackgroundMode(wxTRANSPARENT);
|
||||||
|
@ -201,7 +201,7 @@ sub repaint {
|
||||||
$bullet = $self->{bullets}->{after} if $i > $self->{own_index};
|
$bullet = $self->{bullets}->{after} if $i > $self->{own_index};
|
||||||
|
|
||||||
$dc->SetTextForeground(Wx::Colour->new(128, 128, 128)) if $i > $self->{own_index};
|
$dc->SetTextForeground(Wx::Colour->new(128, 128, 128)) if $i > $self->{own_index};
|
||||||
$dc->DrawLabel($_, $bullet, Wx::Rect->new(0, $i * ($label_h + $gab), $label_w, $label_h));
|
$dc->DrawLabel($_, $bullet, Wx::Rect->new(0, $i * ($label_h + $gap), $label_w, $label_h));
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue