Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Desktop
Commits
ba931b9f
Commit
ba931b9f
authored
Jan 24, 2022
by
Noah Davis
🌵
Committed by
Nate Graham
Jan 24, 2022
Browse files
KickoffItemDelegate: add comment explaining why there's an Item for dragging
parent
7960f89d
Changes
1
Hide whitespace changes
Inline
Side-by-side
applets/kickoff/package/contents/ui/KickoffItemDelegate.qml
View file @
ba931b9f
...
...
@@ -200,6 +200,8 @@ T.ItemDelegate {
axis
:
Drag
.
XAndYAxis
target
:
root
.
dragEnabled
?
dragItem
:
undefined
}
// Using this Item fixes drag and drop causing delegates
// to reset to a 0 X position and overlapping each other.
Item
{
id
:
dragItem
}
// Using onPositionChanged instead of onEntered to prevent changing
// categories while scrolling with the mouse wheel.
...
...
Noah Davis
🌵
@ndavis
mentioned in commit
4aab5f9a
·
Jan 24, 2022
mentioned in commit
4aab5f9a
mentioned in commit 4aab5f9aa0acc37ea5e749a609f3979272babad4
Toggle commit list
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment