mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Fixed drag when flow mouse activation is disabled
This commit is contained in:
parent
1459ebb261
commit
83074a9382
@ -768,11 +768,8 @@ void Viewer::mouseMoveEvent(QMouseEvent * event)
|
|||||||
{
|
{
|
||||||
if(showGoToFlowAnimation->state()!=QPropertyAnimation::Running)
|
if(showGoToFlowAnimation->state()!=QPropertyAnimation::Running)
|
||||||
{
|
{
|
||||||
if(Configuration::getConfiguration().getDisableShowOnMouseOver())
|
if(Configuration::getConfiguration().getDisableShowOnMouseOver() == false)
|
||||||
{
|
{
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if(goToFlow->isVisible())
|
if(goToFlow->isVisible())
|
||||||
{
|
{
|
||||||
QPoint gtfPos = goToFlow->mapFrom(this,event->pos());
|
QPoint gtfPos = goToFlow->mapFrom(this,event->pos());
|
||||||
@ -790,6 +787,7 @@ void Viewer::mouseMoveEvent(QMouseEvent * event)
|
|||||||
hideCursorTimer->stop();
|
hideCursorTimer->stop();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(drag)
|
if(drag)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user