Skip to content

Commit

Permalink
Remove checkbox, checkbox group, radio group and old default templates
Browse files Browse the repository at this point in the history
  • Loading branch information
Insality committed Oct 19, 2024
1 parent d73835a commit 0a5bb24
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 1,312 deletions.
97 changes: 0 additions & 97 deletions druid/extended/checkbox.lua

This file was deleted.

73 changes: 0 additions & 73 deletions druid/extended/checkbox_group.lua

This file was deleted.

81 changes: 0 additions & 81 deletions druid/extended/radio_group.lua

This file was deleted.

14 changes: 0 additions & 14 deletions druid/styles/default/style.lua
Original file line number Diff line number Diff line change
Expand Up @@ -96,20 +96,6 @@ M["progress"] = {
}


M["checkbox"] = {
on_change_state = function(self, node, state, is_instant)
local target = state and 1 or 0
if not is_instant then
gui.animate(node, "color.w", target, gui.EASING_OUTSINE, 0.1)
else
local color = gui.get_color(node)
color.w = target
gui.set_color(node, color)
end
end
}


M["swipe"] = {
SWIPE_THRESHOLD = 50,
SWIPE_TIME = 0.4,
Expand Down
Loading

0 comments on commit 0a5bb24

Please sign in to comment.