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
Utilities
Kate
Commits
96720b9c
Commit
96720b9c
authored
Oct 01, 2022
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
apps/lib/katetabbar.cpp
View file @
96720b9c
...
...
@@ -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
;
...
...
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