From 67a8063591b3eff2f4f17f51a16f8027cb63541b Mon Sep 17 00:00:00 2001 From: Dan Lawrence Date: Sun, 14 Apr 2024 15:30:31 +0100 Subject: [PATCH] fix scrolling_container scrollbar dimensions --- tests/test_elements/test_ui_scrolling_container.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_elements/test_ui_scrolling_container.py b/tests/test_elements/test_ui_scrolling_container.py index 1fe3dca6..666045bd 100644 --- a/tests/test_elements/test_ui_scrolling_container.py +++ b/tests/test_elements/test_ui_scrolling_container.py @@ -179,7 +179,7 @@ def test_update(self, _init_pygame, default_ui_manager, container.update(0.02) - assert container.get_container().get_relative_rect().y == -12 + assert container.get_container().get_relative_rect().y == -11 container.horiz_scroll_bar.scroll_wheel_moved = True container.horiz_scroll_bar.scroll_wheel_amount = -5.0