We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Per title, when clicking to drag, scribble event, if you right click while not in the plot, the last signal isnt emitted.
I fixed it in my fork by:
jkqtplotter.cpp void JKQTPlotter::mousePressEvent(QMouse * event){ firstLine : MouseDragAction prevAction = currentMouseDragAction;
// Then down at the portion of } else if (event->button()==Qt::RightButton){ // I added this portion
if (prevAction.mode==jkqtpmdaScribbleForEvents){ mouseDragRectXStart=plotter->p2x(event->pos().x()/magnification); mouseDragRectYStart=plotter->p2y((event->pos().y()-getPlotYOffset())/magnification); emit userScribbleClick(mouseDragRectXStart, mouseDragRectYStart, event->modifiers(), false, true); }
}
The text was updated successfully, but these errors were encountered:
Could you post a Pull Request with your change?
Sorry, something went wrong.
#139
merged. Thanks!
jkriege2
No branches or pull requests
Per title, when clicking to drag, scribble event, if you right click while not in the plot, the last signal isnt emitted.
I fixed it in my fork by:
jkqtplotter.cpp
void JKQTPlotter::mousePressEvent(QMouse * event){
firstLine : MouseDragAction prevAction = currentMouseDragAction;
// Then down at the portion of } else if (event->button()==Qt::RightButton){
// I added this portion
}
The text was updated successfully, but these errors were encountered: