Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nheko
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nheko Reborn
nheko
Commits
ef31f67c
Verified
Commit
ef31f67c
authored
1 year ago
by
Nicolas Werner
Browse files
Options
Downloads
Patches
Plain Diff
Delay some delegate removals to reduce CPU spent on recalculating sizes
parent
696419c4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#4659
passed
1 year ago
Stage: sign
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
resources/qml/Completer.qml
+2
-0
2 additions, 0 deletions
resources/qml/Completer.qml
resources/qml/MessageView.qml
+1
-0
1 addition, 0 deletions
resources/qml/MessageView.qml
with
3 additions
and
0 deletions
resources/qml/Completer.qml
+
2
−
0
View file @
ef31f67c
...
...
@@ -125,6 +125,8 @@ Control {
delegate
:
Rectangle
{
property
variant
modelData
:
model
ListView.delayRemove
:
true
color
:
model
.
index
==
popup
.
currentIndex
?
Nheko
.
colors
.
highlight
:
Nheko
.
colors
.
base
height
:
chooser
.
child
.
implicitHeight
+
2
*
popup
.
rowMargin
implicitWidth
:
fullWidth
?
ListView
.
view
.
width
:
chooser
.
child
.
implicitWidth
+
4
...
...
This diff is collapsed.
Click to expand it.
resources/qml/MessageView.qml
+
1
−
0
View file @
ef31f67c
...
...
@@ -449,6 +449,7 @@ Item {
anchors.horizontalCenter
:
parent
?
parent
.
horizontalCenter
:
undefined
width
:
chat
.
delegateMaxWidth
height
:
section
.
active
?
section
.
height
+
timelinerow
.
height
:
timelinerow
.
height
ListView.delayRemove
:
true
Loader
{
id
:
section
...
...
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