Skip to content

Commit

Permalink
fix scrolling bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dk committed Aug 12, 2023
1 parent dd0aa5e commit 5a28599
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Prima/Widget/GroupScroller.pm
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,10 @@ sub setup_indents
my ($self) = @_;
$self-> {indents} = [ 0,0,0,0];
my $bw = $self-> {borderWidth};
my $ebw = $self->{GS_extra_border} - 1;
$self-> {indents}-> [$_] += $bw for 0..3;
$self-> {indents}-> [1] += $self-> {hScrollBar}-> height - 1 if $self-> {hScroll};
$self-> {indents}-> [2] += $self-> {vScrollBar}-> width - 1 if $self-> {vScroll};
$self-> {indents}-> [1] += $self-> {hScrollBar}-> height + $ebw if $self-> {hScroll};
$self-> {indents}-> [2] += $self-> {vScrollBar}-> width + $ebw if $self-> {vScroll};
}

sub set_border_width
Expand Down

0 comments on commit 5a28599

Please sign in to comment.