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
79c85bad
Commit
79c85bad
authored
Nov 01, 2022
by
Waqar Ahmed
Browse files
Dont start drag if the cursor is slightly above the tabbar
parent
4ab70d77
Pipeline
#259244
failed with stage
in 10 minutes and 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
apps/lib/katetabbar.cpp
View file @
79c85bad
...
...
@@ -200,6 +200,7 @@ void KateTabBar::mouseMoveEvent(QMouseEvent *event)
auto
viewSpace
=
qobject_cast
<
KateViewSpace
*>
(
parentWidget
());
const
auto
viewspaceRect
=
viewSpace
->
rect
();
QRect
viewspaceRectTopArea
=
viewspaceRect
;
viewspaceRectTopArea
.
setTop
(
viewspaceRect
.
top
()
-
40
);
viewspaceRectTopArea
.
setBottom
(
viewspaceRect
.
height
()
/
2
);
if
(
!
viewSpace
||
viewspaceRectTopArea
.
contains
(
event
->
pos
()))
{
QTabBar
::
mouseMoveEvent
(
event
);
...
...
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