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:
parent
db6acfe9b5
commit
0cc6bb4ff9
@ -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 )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user