[haiku-commits] Change in haiku[master]: BListView: Update selection while holding mouse down

  • From: Gerrit <review@xxxxxxxxxxxxxxxxxxx>
  • To: waddlesplash <waddlesplash@xxxxxxxxx>, haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 13 Nov 2019 22:55:27 +0000

From John Scipione <jscipione@xxxxxxxxx>:

John Scipione has uploaded this change for review. ( 
https://review.haiku-os.org/c/haiku/+/1956 ;)


Change subject: BListView: Update selection while holding mouse down
......................................................................

BListView: Update selection while holding mouse down

This feature was originally implemented in hrev50495.
This feature was removed (accidentally) when we switched to mouse up
in hrev52062.

In BeOS R5 as you scrolled through a single-selection list with the
mouse button held down the selected item appeared to change, but the
selection didn't actually update until you released the mouse button.

This commit copies the above behavior better than hrev50495 which
changed the selection as you scrolled, now the selection is changed
on mouse up instead. The behavior on Haiku is still slightly different
than BeOS R5 because on Haiku the selection changes when you moues down
on the first item and then the selection changes again when you mouse up
on the second item. In BeOS the selection would only change
one time on mouse up.

Fixes #15009
---
M src/kits/interface/ListView.cpp
1 file changed, 47 insertions(+), 0 deletions(-)



  git pull ssh://git.haiku-os.org:22/haiku refs/changes/56/1956/1
--
To view, visit https://review.haiku-os.org/c/haiku/+/1956
To unsubscribe, or for help writing mail filters, visit 
https://review.haiku-os.org/settings

Gerrit-Project: haiku
Gerrit-Branch: master
Gerrit-Change-Id: Icae02b8d37ed281390647504b4efa3d694ea522a
Gerrit-Change-Number: 1956
Gerrit-PatchSet: 1
Gerrit-Owner: John Scipione <jscipione@xxxxxxxxx>
Gerrit-MessageType: newchange

Other related posts:

  • » [haiku-commits] Change in haiku[master]: BListView: Update selection while holding mouse down - Gerrit