mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
reversed wheel zoom direction in GraphView
This commit is contained in:
@@ -627,7 +627,7 @@ void GraphViewer::restoreDefaults()
|
|||||||
|
|
||||||
void GraphViewer::wheelEvent ( QWheelEvent * event )
|
void GraphViewer::wheelEvent ( QWheelEvent * event )
|
||||||
{
|
{
|
||||||
if(event->delta() > 0)
|
if(event->delta() < 0)
|
||||||
{
|
{
|
||||||
this->scale(0.95, 0.95);
|
this->scale(0.95, 0.95);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user