the moving of rows works but resets on move

This breaks fluid movements from QML with KirigamiDragHandles

We will need to adjust how this move works in QML or get the
begin_move_rows function to build. If it can build we can still use
the KirigamiDragHandles.
This commit is contained in:
Chris Cochrun 2023-09-17 14:35:37 -05:00
parent fe25209758
commit c57f9f8ac9
3 changed files with 69 additions and 12 deletions

View file

@ -382,10 +382,10 @@ Item {
contextType: "2d"
renderStrategy: Canvas.Threaded
onPaint: {
console.log(Kirigami.Theme.hoverColor.name());
console.log(Kirigami.Theme.hoverColor);
var ctx = getContext("2d");
ctx.fillRule = Qt.OddEvenFill
ctx.fillStyle = Kirigami.Theme.hoverColor.rgb();
ctx.fillStyle = Kirigami.Theme.hoverColor;
ctx.rotate(30);
ctx.transform(0.8, 0, 0, 0.8, 0, 30)
ctx.path = tearDropPath;
@ -452,7 +452,7 @@ Item {
id: serviceToolBar
Layout.fillWidth: true
opacity: 1.0
display: Button.IconOnly
display: Controls.Button.IconOnly
actions: [
Kirigami.Action {
text: "Up"