mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
fix horizontal scroll
This commit is contained in:
@@ -356,7 +356,7 @@ class ScrollBar(Widget):
|
||||
self.grabbed_position
|
||||
+ (
|
||||
(event.screen_x - self.grabbed.x)
|
||||
* (self.window_virtual_size / self.window_size)
|
||||
* (virtual_size / self.window_size)
|
||||
)
|
||||
)
|
||||
await self.post_message(ScrollTo(self, x=x, y=y))
|
||||
|
||||
Reference in New Issue
Block a user