=== modified file 'lib/Tickit/Widget/HSplit.pm'
--- lib/Tickit/Widget/HSplit.pm 2017-02-15 15:04:46 +0000
+++ lib/Tickit/Widget/HSplit.pm 2017-03-17 18:49:02 +0000
@@ -204,8 +204,10 @@
my $self = shift;
my ( $args ) = @_;
- return unless $args->button == 1;
- return $self->_on_mouse( $args->type, $args->line );
+ if( $args->type ne "wheel" and $args->button == 1 ) {
+ return $self->_on_mouse( $args->type, $args->line );
+ }
+ return;
}
=head1 AUTHOR
=== modified file 'lib/Tickit/Widget/VSplit.pm'
--- lib/Tickit/Widget/VSplit.pm 2017-02-15 15:04:46 +0000
+++ lib/Tickit/Widget/VSplit.pm 2017-03-17 18:49:02 +0000
@@ -205,8 +205,10 @@
my $self = shift;
my ( $args ) = @_;
- return unless $args->button == 1;
- return $self->_on_mouse( $args->type, $args->col );
+ if( $args->type ne "wheel" and $args->button == 1 ) {
+ return $self->_on_mouse( $args->type, $args->col );
+ }
+ return;
}
=head1 AUTHOR