Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
426
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
f21bda02
Commit
f21bda02
authored
5 months ago
by
Prince Gupta
Committed by
Steve Lhomme
5 months ago
Browse files
Options
Downloads
Patches
Plain Diff
qml: fix unnecessary layout calls with expand animation
parent
4e0485cc
No related branches found
No related tags found
1 merge request
!5962
qml: fix unnecessary layout calls with expand animation
Pipeline
#510884
passed with stage
Stage:
in 18 minutes and 31 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/gui/qt/widgets/qml/ExpandGridView.qml
+5
-0
5 additions, 0 deletions
modules/gui/qt/widgets/qml/ExpandGridView.qml
with
5 additions
and
0 deletions
modules/gui/qt/widgets/qml/ExpandGridView.qml
+
5
−
0
View file @
f21bda02
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment