mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
use floats
This commit is contained in:
@@ -369,9 +369,9 @@ class App(Generic[ReturnType], DOMNode):
|
||||
self.css_path = css_paths
|
||||
self._registry: WeakSet[DOMNode] = WeakSet()
|
||||
|
||||
self.scroll_sensitivity_x: float = 4
|
||||
self.scroll_sensitivity_x: float = 4.0
|
||||
"""Number of lines to scroll in the X direction with wheel or trackpad."""
|
||||
self.scroll_sensitivity_y: float = 2
|
||||
self.scroll_sensitivity_y: float = 2.0
|
||||
"""Number of lines to scroll in the Y direction with wheel or trackpad."""
|
||||
|
||||
self._installed_screens: WeakValueDictionary[
|
||||
|
||||
Reference in New Issue
Block a user