Prevents ScrollView from handling the mouse if the content view needs to handle it.

This commit is contained in:
BDisp
2020-05-30 17:55:18 +01:00
parent 1024f073b2
commit 96d74595c6

View File

@@ -537,7 +537,10 @@ namespace Terminal.Gui {
vertical.MouseEvent (me);
else if (me.Y == horizontal.Frame.Y)
horizontal.MouseEvent (me);
else if (IsOverridden (me.View)) {
Application.UngrabMouse ();
return false;
}
return true;
}
}