1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-30 20:53:52 +00:00

More pleasant TimelineItem resizing parameters.

This commit is contained in:
Tomaž Vöröš 2022-12-18 20:06:57 +01:00
parent db6acfe9b5
commit 0cc6bb4ff9

View File

@ -121,8 +121,8 @@ void TimelineItem::Draw( bool firstFrame, double pxns, int& offset, const ImVec2
void TimelineItem::AdjustThreadHeight( bool firstFrame, int oldOffset, int& offset ) void TimelineItem::AdjustThreadHeight( bool firstFrame, int oldOffset, int& offset )
{ {
const auto speed = 10.0; const auto speed = 5.0;
const auto minMove = 2.0; const auto minMove = 1.0;
const auto h = offset - oldOffset; const auto h = offset - oldOffset;
if( firstFrame ) if( firstFrame )