mirror of
https://github.com/gwm17/implot.git
synced 2024-11-13 22:48:50 -05:00
small fix to query
This commit is contained in:
parent
c1daaab8ea
commit
8c125ccd6b
|
@ -965,6 +965,11 @@ bool BeginPlot(const char* title, const char* x_label, const char* y_label, cons
|
|||
plot.Queried = false;
|
||||
plot.QueryRect = ImRect(0,0,0,0);
|
||||
}
|
||||
if (!ImHasFlag(plot.Flags, ImPlotFlags_Query)) {
|
||||
plot.Queried = false;
|
||||
plot.Querying = false;
|
||||
plot.QueryRect = ImRect(0,0,0,0);
|
||||
}
|
||||
|
||||
// DOUBLE CLICK -----------------------------------------------------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user