summaryrefslogtreecommitdiffstats
path: root/src/gui/doc/snippets/code
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2025-07-07 13:49:55 +0800
committerMitch Curtis <mitch.curtis@qt.io>2025-08-01 19:39:24 +0800
commit10799a36a05862faef71753d8627d376a7a3efb6 (patch)
tree49a2bd08be148821c38689744697a6f89c7a6a8c /src/gui/doc/snippets/code
parente75b50f0dca68cbab908a9af320a8b72de73cb56 (diff)
QUnifiedTimer: fix speed-modified delta calculation
a318e331f1387eb3c9d13be96c28619453a35571 accidentally divided when it should have been multiplication. E.g the old code would actually slow animations down instead of speeding them up: delta (16) / speedModifier (5) = 3.2 What we want is: 16 * 5 = 80 Add an auto test for the behavior in tst_QPropertyAnimation::speedModifier. So that we can restore speedModifier's previous value, add a getter for it. Task-number: QTBUG-137919 Change-Id: Ie873a5c90e36bb9906aadad45fa2c53f50066c1e Reviewed-by: Matthias Rauter <matthias.rauter@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/gui/doc/snippets/code')
0 files changed, 0 insertions, 0 deletions