aboutsummaryrefslogtreecommitdiff
path: root/lib/oui/oui.odin
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oui/oui.odin')
-rw-r--r--lib/oui/oui.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oui/oui.odin b/lib/oui/oui.odin
index 2933b8c..a1fbbf8 100644
--- a/lib/oui/oui.odin
+++ b/lib/oui/oui.odin
@@ -395,7 +395,7 @@ end_layout :: proc(ctx: ^Context) #no_bounds_check {
ctx.stage = .Post_Layout
// update hot/active for animation
- speed := f32(0.05)
+ speed := f32(0.50)
for i in 0..<ctx.items_index {
p := &ctx.items[i]
p.anim.hot = clamp(p.anim.hot + (p.id == ctx.hot_item ? speed : -speed), 0, 1)