Skip to content

Commit

Permalink
scrollview: fix minor bug
Browse files Browse the repository at this point in the history
  • Loading branch information
T-Dynamos committed Mar 21, 2024
1 parent 2f26dcc commit 1cc2f02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kivymd/uix/scrollview.py
Expand Up @@ -144,7 +144,7 @@ def get_component(self, pos):
def convert_overscroll(self, touch):
if (
self.scroll_view
and self.target_widget.collide_point(*touch.pos)
and self.scroll_view.collide_point(*touch.pos)
and self.is_top_or_bottom()
and getattr(self.scroll_view, "do_scroll_" + self.scale_axis)
and self.velocity == 0
Expand Down Expand Up @@ -190,7 +190,7 @@ class MDScrollView(DeclarativeBehavior, BackgroundColorBehavior, ScrollView):
classes documentation.
"""

_internal_scale = None | Scale
_internal_scale = None

def __init__(self, *args, **kwargs):
self.effect_cls = StretchOverScrollStencil
Expand Down

0 comments on commit 1cc2f02

Please sign in to comment.