Skip to content
Snippets Groups Projects
Commit 8c80a862 authored by Ulf Hermann's avatar Ulf Hermann
Browse files

Timeline: Fix event compression for non-default heights


The "id" member of OpaqueColoredPoint2DWithSize is then used as the
number of events compressed into one. To discern it from an actual
id it's also negated. Thus, it needs to be updated when adding an
event. This is not a problem for default height items because their
top is always at 0, so that the addition of the 'y' members doesn't
have an effect.

Change-Id: Ibd7218954e36661d7f729465430de89821a41a7f
Task-number: QTCREATORBUG-16763
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@qt.io>
Reviewed-by: default avatarEike Ziller <eike.ziller@qt.io>
Reviewed-by: default avatarUlf Hermann <ulf.hermann@qt.io>
parent f4b8ec1e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment