zonyitoo / doubanfm-qt

A DoubanFM client
Other
511 stars 99 forks source link

More convenient to switch channel #20

Closed zllang closed 10 years ago

zllang commented 10 years ago

1.modify horizontalslider::scorllToIndex set curIndex dont wait the animation finished 2.use mouse wheelEvent switch channel

添加使用滚轮切换频道 issue#14 提到切换频道不方便,horizontalslider的切换是等到动画执行完毕才完成,如果快速点击切换会有卡住的感觉,我改成先给curIndex赋值,不会有卡的感觉了。