2019-12-31 Fred Gleason <fredg@paravelsystems.com>

* Tweaked the 'LogLineBox::mouseMoveEvent()' method in rdairplay(1)
	to require a cursor movement of at least 20 pixels before generating
	a cart drag.
This commit is contained in:
Fred Gleason
2019-12-31 14:51:13 -05:00
parent e3dd3ef7a3
commit 4c48bc1b52
3 changed files with 20 additions and 8 deletions

View File

@@ -37,6 +37,7 @@
//
#define LOGLINEBOX_FULL_HEIGHT 85
#define LOGLINEBOX_HALF_HEIGHT 50
#define LOGLINEBOX_DRAG_THRESHOLD 20
class LogLineBox : public RDWidget
{
@@ -127,6 +128,7 @@ class LogLineBox : public RDWidget
QPixmap *line_traffic_map;
QPixmap *line_music_map;
int line_move_count;
QPoint line_drag_start_pos;
RDLogLine::Status line_status;
QString line_title_template;
QString line_artist_template;