mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 20:33:52 +00:00
Adapt minimum samples distance to DPI scaling.
This commit is contained in:
parent
8d65b190d6
commit
3e78c826cf
@ -4175,7 +4175,7 @@ void View::DrawSamples( const Vector<SampleData>& vec, bool hover, double pxns,
|
|||||||
const auto y1 = ty0375 + ty02 - 1;
|
const auto y1 = ty0375 + ty02 - 1;
|
||||||
auto draw = ImGui::GetWindowDrawList();
|
auto draw = ImGui::GetWindowDrawList();
|
||||||
|
|
||||||
enum { MinVis = 6 };
|
const auto MinVis = 6 * GetScale();
|
||||||
bool tooltipDisplayed = false;
|
bool tooltipDisplayed = false;
|
||||||
|
|
||||||
while( it < itend )
|
while( it < itend )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user