mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Update total count tracking to always consider the wrapper object
This commit is contained in:
1 parent
735b033701
commit
60fd97bfda
6 files changed
+28
-18
No files matched your search
@@ -147,6 +147,10 @@ class Item(Generic[V]):
|
||||
def width(self) -> int:
|
||||
return 1
|
||||
|
||||
@property
|
||||
def _total_count(self) -> int:
|
||||
return 1
|
||||
|
||||
@property
|
||||
def view(self) -> Optional[V]:
|
||||
"""Optional[Union[:class:`View`, :class:`LayoutView`]]: The underlying view for this item."""
|
||||
|
||||
Reference in new issue
Block a user