Commit 96720b9c authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

Allow more space when just dragging tabs to reorder

Less annoying + likely the common action.
parent 87e88d1a
Pipeline #239133 passed with stage
in 18 minutes and 38 seconds
......@@ -216,7 +216,7 @@ void KateTabBar::mouseMoveEvent(QMouseEvent *event)
auto viewSpace = qobject_cast<KateViewSpace *>(parentWidget());
const auto viewspaceRect = viewSpace->rect();
QRect viewspaceRectTopArea = viewspaceRect;
viewspaceRectTopArea.setBottom(viewspaceRect.height() / 4);
viewspaceRectTopArea.setBottom(viewspaceRect.height() / 2);
if (!viewSpace || viewspaceRectTopArea.contains(event->pos())) {
QTabBar::mouseMoveEvent(event);
return;
......
Supports Markdown
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