mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
added workaround for mouseMoveEvent not working in MacOSX 10.9
This commit is contained in:
parent
71543ff06f
commit
fc933b3747
@ -488,6 +488,8 @@ void Viewer::mouseMoveEvent(QMouseEvent * event)
|
|||||||
{
|
{
|
||||||
if(goToFlow->isVisible())
|
if(goToFlow->isVisible())
|
||||||
{
|
{
|
||||||
|
QPoint gtfPos = goToFlow->mapFrom(this,event->pos());
|
||||||
|
if(gtfPos.y() < 0 || gtfPos.x()<0 || gtfPos.x()>goToFlow->width())//TODO this extra check is for Mavericks (mouseMove over goToFlowGL seems to be broken)
|
||||||
animateHideGoToFlow();
|
animateHideGoToFlow();
|
||||||
//goToFlow->hide();
|
//goToFlow->hide();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user