mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-03 00:25:14 +00:00
Update total count tracking to always consider the wrapper object
This commit is contained in:
@ -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