|
|
@@ -605,8 +605,10 @@ item_press(PGItem *item, const MouseWatcherParameter ¶m) {
|
|
|
ClockObject::get_global_clock()->get_frame_time() + scroll_initial_delay;
|
|
|
|
|
|
} else if (item == _thumb_button) {
|
|
|
- _scroll_button_held = nullptr;
|
|
|
- begin_drag();
|
|
|
+ if (((PGButton *)item)->has_click_button(param.get_button())) {
|
|
|
+ _scroll_button_held = nullptr;
|
|
|
+ begin_drag();
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|