mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +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;
|
||||
auto draw = ImGui::GetWindowDrawList();
|
||||
|
||||
enum { MinVis = 6 };
|
||||
const auto MinVis = 6 * GetScale();
|
||||
bool tooltipDisplayed = false;
|
||||
|
||||
while( it < itend )
|
||||
|
Loading…
Reference in New Issue
Block a user