This commit is contained in:
恍兮惚兮 2024-09-16 13:26:09 +08:00
parent 11574d9fee
commit f89527a97f

View File

@ -468,8 +468,7 @@ class lazyscrollflow(ScrollArea):
line_height = max(line_height, sz.height()) line_height = max(line_height, sz.height())
new_height = y + line_height - rect.y() + self._margin new_height = y + line_height - rect.y() + self._margin
self.internalwid.setFixedHeight(new_height) self.internalwid.setFixedHeight(new_height)
return new_height
def has_intersection(interval1, interval2): def has_intersection(interval1, interval2):