This commit is contained in:
Insality
2025-03-30 13:33:52 +03:00
parent e4a8a85c39
commit 50079e0838
3 changed files with 63 additions and 6 deletions

View File

@@ -11,9 +11,9 @@ local M = {}
function M:init()
self.checkbox_1 = self.druid:new(checkbox, "checkbox_1")
self.checkbox_2 = self.druid:new(checkbox, "checkbox_2")
self.checkbox_3 = self.druid:new(checkbox, "checkbox_3")
self.checkbox_1 = self.druid:new_widget(checkbox, "checkbox_1")
self.checkbox_2 = self.druid:new_widget(checkbox, "checkbox_2")
self.checkbox_3 = self.druid:new_widget(checkbox, "checkbox_3")
self.checkbox_1.on_state_changed:subscribe(self.on_checkbox_click, self)
self.checkbox_2.on_state_changed:subscribe(self.on_checkbox_click, self)