Jump to content
Sign in to follow this  
iPDramaTic

Button Blinking

Recommended Posts

i need help with my button, it always blinks and when i hover over it with the mouse it stops blinking but i want it not to blink at all. here is my code to help me understand it

 

class RscButton

{

    type=1;

    idc=-1;

    style="0x02 + 0x800";

    x=0;

    y=0;

    w=0.1;

    h=0;

    sizeEx=0.032499999;

    offsetX=0;

    offsetY=0.0020000001;

    offsetPressedX=0;

    offsetPressedY=0.0020000001;

    borderSize=0;

    colorText[]={1,1,1,1};

    colorBackground[]={0.5,0.5,0.5,0};

    colorFocused[]={0.5,0.5,0.5,0};

    colorShadow[]={0,0,0,0};

    colorBorder[]={1,1,1,0};

    colorBackgroundActive[]={0.5,0.5,0.5,0};

    colorDisabled[]={0.5,0.5,0.5,0};

    colorBackgroundDisabled[]={0.5,0.5,0.5,0};

    font="TahomaB";

    tooltipColorShade[]={0.5,0.5,0.5,0.25};

    tooltipColorText[]={1,1,1,0.75};

    tooltipColorBox[]={0.5,0.5,0.5,0};

    soundEnter[]=

    {

        "",

        0.2,

        1

    };

    soundPush[]=

    {

        "",

        0.2,

        1

    };

    soundClick[]=

    {

        "",

        0.2,

        1

    };

    soundEscape[]=

    {

        "",

        0.2,

        1

    };

    default=0;

    text="";

    action="";

};

 

Share this post


Link to post
Share on other sites

i believe its one of the color values that controls the blinking as the color changes. sorry i forgot which ones 😕

but if you change everything to same color it should not blink anymore

  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×