]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
show a simple easing animation on the default slider. beware its ugly when draging...
authorStephan Stahl <esteel@eos.franken.de>
Sun, 11 Apr 2010 19:31:32 +0000 (19:31 +0000)
committerStephan Stahl <esteel@eos.franken.de>
Sun, 16 May 2010 22:29:44 +0000 (22:29 +0000)
(cherry picked from commit 0279f7b481307dd7c2c3a37e1ec3f6f14433565b)

qcsrc/menu/xonotic/slider.c

index 13ea0f2dd0c34390196a88900e12e8e385d392be..420dd32e1381b8c8ae2f065a807d172a311a6e4b 100644 (file)
@@ -53,6 +53,7 @@ void setValueXonoticSlider(entity me, float val)
 {
        if(val != me.value)
        {
+               makeHostedEasing(me, setValueSlider, easingQuadInOut, 1, me.value, val);
                me.value = val;
                me.saveCvars(me);
        }