Fix broken spacer tool and thumbnails disappearing with razor and space tools

parent 4bc1aee3
...@@ -246,7 +246,7 @@ bool TimelineFunctions::requestSpacerEndOperation(const std::shared_ptr<Timeline ...@@ -246,7 +246,7 @@ bool TimelineFunctions::requestSpacerEndOperation(const std::shared_ptr<Timeline
// Start undoable command // Start undoable command
std::function<bool(void)> undo = []() { return true; }; std::function<bool(void)> undo = []() { return true; };
std::function<bool(void)> redo = []() { return true; }; std::function<bool(void)> redo = []() { return true; };
int res = timeline->requestClipsGroup(clips, undo, redo); int res = timeline->requestClipsGroup(clips, undo, redo, GroupType::Selection);
bool final = false; bool final = false;
if (res > -1) { if (res > -1) {
if (clips.size() > 1) { if (clips.size() > 1) {
......
...@@ -236,10 +236,10 @@ Rectangle { ...@@ -236,10 +236,10 @@ Rectangle {
} }
MouseArea { MouseArea {
id: mouseArea id: mouseArea
visible: root.activeTool === 0 enabled: root.activeTool === 0
anchors.fill: clipRoot anchors.fill: clipRoot
acceptedButtons: Qt.RightButton acceptedButtons: Qt.RightButton
hoverEnabled: true hoverEnabled: root.activeTool === 0
cursorShape: dragProxyArea.drag.active ? Qt.ClosedHandCursor : Qt.OpenHandCursor cursorShape: dragProxyArea.drag.active ? Qt.ClosedHandCursor : Qt.OpenHandCursor
onPressed: { onPressed: {
root.stopScrolling = true root.stopScrolling = true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment