Commit ad484b1c authored by Ulf Hermann's avatar Ulf Hermann

Timeline: Don't round the selection rectangles outer dimensions

Change-Id: I5d002737937593f53f2b64a5eee1cc2fd42d803f
Task-number: QTCREATORBUG-14023
Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@theqtcompany.com>
parent 16cfcfe1
......@@ -103,8 +103,8 @@ TimelineRenderPass::State *TimelineSelectionRenderPass::update(
// left and width the error on the left border is inherited by the right border. Like this
// they're independent.
QRectF outer(QPointF(qFloor(left * parentState->scale()), top),
QPointF(qCeil(right * parentState->scale()), top + height));
QRectF outer(QPointF(left * parentState->scale(), top),
QPointF(right * parentState->scale(), top + height));
float scaleConversion = parentState->scale() / spacing;
float missing = 3.0 - outer.width() / scaleConversion;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment