feat: Update medicine toggles to be unchecked by default for improved user experience
Some checks failed
Build and Push Docker Image / build-and-push (push) Has been cancelled

This commit is contained in:
William Valentin
2025-08-01 12:53:19 -07:00
parent 13a4826415
commit 14d9943665

View File

@@ -45,9 +45,9 @@ class GraphManager:
for pathology_key in self.pathology_manager.get_pathology_keys():
self.toggle_vars[pathology_key] = tk.IntVar(value=1)
# Initialize medicine toggles
# Initialize medicine toggles (unchecked by default)
for medicine_key in self.medicine_manager.get_medicine_keys():
self.toggle_vars[medicine_key] = tk.IntVar(value=1)
self.toggle_vars[medicine_key] = tk.IntVar(value=0)
def _setup_ui(self) -> None:
"""Set up the UI components with performance optimizations."""