Remove checkbox, checkbox group, radio group and old default templates

This commit is contained in:
Insality
2024-10-19 10:58:46 +03:00
parent d73835a2d5
commit 0a5bb248d7
11 changed files with 0 additions and 1312 deletions

View File

@@ -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,