Ver Fonte

Break the loop if the superview is found.

BDisp há 1 ano atrás
pai
commit
704f1407d8
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      Terminal.Gui/Views/ScrollView.cs

+ 2 - 0
Terminal.Gui/Views/ScrollView.cs

@@ -149,6 +149,8 @@ public class ScrollView : View
                 if (supView == _contentView)
                 {
                     Application.GrabMouse (this);
+
+                    break;
                 }
 
                 supView = supView.SuperView;