Skip to content

Commit 0e04032

Browse files
committed
draw left side of highlight box on screen
1 parent 258389d commit 0e04032

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • lib/PDL/Graphics/TriD

lib/PDL/Graphics/TriD/GL.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,7 @@ sub highlight {
955955
);
956956
my ($w, $h) = @$vp{qw(W H)};
957957
if (!$hl->{IsValid}) {
958-
$hl->{Points} .= PDL->new(PDL::float, [[0,0], [$w-2,0], [$w-2,$h-2], [0,$h-2]]),
958+
$hl->{Points} .= PDL->new(PDL::float, [[1,0], [$w-2,0], [$w-2,$h-2], [1,$h-2]]),
959959
$hl->togl_setup;
960960
$hl->{IsValid} = 1;
961961
}

0 commit comments

Comments
 (0)