mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-19 05:57:09 +00:00
Don't update buffer viewer display if we just mousemove without clicking
This commit is contained in:
@@ -2543,7 +2543,11 @@ void BufferViewer::render_mouseMove(QMouseEvent *e)
|
||||
if(e->buttons() & Qt::RightButton)
|
||||
render_clicked(e);
|
||||
|
||||
INVOKE_MEMFN(RT_UpdateAndDisplay);
|
||||
// display if any mouse buttons are held while moving.
|
||||
if(e->buttons() != Qt::NoButton)
|
||||
{
|
||||
INVOKE_MEMFN(RT_UpdateAndDisplay);
|
||||
}
|
||||
}
|
||||
|
||||
void BufferViewer::render_clicked(QMouseEvent *e)
|
||||
|
||||
Reference in New Issue
Block a user