Skip to content
Commit 6426381d authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Skip updating graphics if there is no scene size yet

Avoids calculations with 0 values, including 0 / 0, resulting in strange
big negative values e.g. for durations in Item::moveAndResize method.

Gets rid of the repeated warnings during startup about:
QVariantAnimation::setDuration: cannot set a negative duration
parent c2b3375c
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment