mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Improved hoverwatch scrolling closing string view
This commit is contained in:
parent
74168a55d5
commit
3cc0ba2ed6
1 changed files with 6 additions and 7 deletions
|
@ -406,14 +406,12 @@ namespace IDE.ui
|
|||
|
||||
void HandleMouseWheel(MouseEvent evt)
|
||||
{
|
||||
if (mChildWidgets.Count == 0)
|
||||
return;
|
||||
|
||||
var lastListView = mChildWidgets[mChildWidgets.Count - 1] as HoverListView;
|
||||
if ((lastListView != null) && (lastListView.mVertScrollbar != null))
|
||||
return;
|
||||
|
||||
if (mListViews.Count > 1)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (evt.mSender != mWidgetWindow)
|
||||
{
|
||||
var widgetWindow = evt.mSender as BFWindow;
|
||||
while (widgetWindow != null)
|
||||
|
@ -423,6 +421,7 @@ namespace IDE.ui
|
|||
widgetWindow = widgetWindow.mParent;
|
||||
}
|
||||
}
|
||||
|
||||
EditWidget editWidget = mEditWidget;
|
||||
if (var sourceViewPanel = mTextPanel as SourceViewPanel)
|
||||
editWidget = sourceViewPanel.mEditWidget;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue