Fix the dock type warning

See #2494.
This commit is contained in:
Dave Pearson
2023-05-29 13:44:11 +01:00
parent 1ea892b062
commit 5a8fe24367

View File

@@ -570,7 +570,7 @@ class DockProperty:
"""
return cast(DockEdge, obj.get_rule("dock", ""))
def __set__(self, obj: Styles, dock_name: str | None):
def __set__(self, obj: StylesBase, dock_name: str | None):
"""Set the Dock property.
Args: