mirror of
https://github.com/gwm17/implot.git
synced 2025-01-30 19:08:51 -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.Queried = false;
|
||||||
plot.QueryRect = ImRect(0,0,0,0);
|
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 -----------------------------------------------------------
|
// DOUBLE CLICK -----------------------------------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user