Skip to content
Snippets Groups Projects
Commit f21bda02 authored by Prince Gupta's avatar Prince Gupta :speech_balloon: Committed by Steve Lhomme
Browse files

qml: fix unnecessary layout calls with expand animation

parent 4e0485cc
No related branches found
No related tags found
1 merge request!5962qml: fix unnecessary layout calls with expand animation
Pipeline #510884 passed with stage
in 18 minutes and 31 seconds
......@@ -359,6 +359,11 @@ FocusScope {
if (_currentRange[0] === _currentRange[1])
return
// anchoring and expand item animation conflicts
// causing view range oscilate on two different values
if (animateExpandItem.running || animateRetractItem.running)
return
// fix anchor for some duration, so that index remains
// same during whole resize operation
const dirty = (Date.now() - _anchoredIdxUpdate) > VLCStyle.duration_veryLong
......
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