CTkScrollableDropdownPP 2.3__tar.gz → 2.3.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -368,8 +368,7 @@ class CTkScrollableDropdown(customtkinter.CTkToplevel):
368
368
  self.update_buttons(values_to_show)
369
369
  self._update_pagination_buttons(filtered=bool(self.filtered_values))
370
370
  self.frame.update_idletasks()
371
- ratio = len(values_to_show) / self.items_per_page
372
- self.frame._parent_canvas.yview_moveto(0 if ratio < 0.5 else ratio)
371
+ self.frame._parent_canvas.yview_moveto(0)
373
372
 
374
373
  def destroy_popup(self):
375
374
  self.destroy()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: CTkScrollableDropdownPP
3
- Version: 2.3
3
+ Version: 2.3.1
4
4
  Summary: Enhanced CTkScrollableDropdown with pagination, search and groups support
5
5
  Author: PLauncher-Team, Akash Bora
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: CTkScrollableDropdownPP
3
- Version: 2.3
3
+ Version: 2.3.1
4
4
  Summary: Enhanced CTkScrollableDropdown with pagination, search and groups support
5
5
  Author: PLauncher-Team, Akash Bora
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "CTkScrollableDropdownPP"
7
- version = "2.3"
7
+ version = "2.3.1"
8
8
  description = "Enhanced CTkScrollableDropdown with pagination, search and groups support"
9
9
  authors = [
10
10
  {name = "PLauncher-Team"},