mirror of
https://github.com/UiO-Gaming/ShiteMusicBot.git
synced 2026-11-05 13:56:51 +01:00
Remove _add_truncated_range
This commit is contained in:
1 parent
74cf9519a8
commit
7cf3acca6b
1 file changed
-5
@@ -21,8 +21,3 @@ class NavBarRange:
|
||||
mid_select_items[0] = 0
|
||||
mid_select_items[-1] = self.num_items - 1
|
||||
return iter(mid_select_items)
|
||||
|
||||
def _make_truncated_range(self, start, end):
|
||||
actual_start = max(start, 0)
|
||||
actual_end = min(self.max_iter_length, end)
|
||||
return range(actual_start, actual_end)
|
||||
Reference in new issue
Block a user