1. #1

    Addon adjustment numbers show decimals?

    Hey guys. Probably an easy fix, but I really have no idea where to start.

    Addon adjustment numbers, say Font Size of something, show in decimals. When I press sliders I can't get "10, 11, 12", but instead 10.233253232, 10.65456457, 11.1235436.

    What's wrong? :<

    So far I think I'm only seeing it on MSBT.

  2. #2
    Since patch 5.4.2 addons have to explicit call slider:SetObeyStepOnDrag(true). If you still see addons with that problem they are most likely not updated since then.

    If you want to fix it yourself:

    Open World of Warcraft\Interface\Addons\MSBTOptions\MSBTOptionsControls.lua, goto line 1056 and find
    Code:
     local sliderFrame = CreateFrame("Slider", nil, slider);
    Add the following line right below:
    Code:
    sliderFrame:SetObeyStepOnDrag(true);
    Last edited by Crudor; 2014-09-23 at 09:52 PM.

  3. #3
    Quote Originally Posted by Crudor View Post
    Since patch 5.4.2 addons have to explicit call slider:SetObeyStepOnDrag(true). If you still see addons with that problem they are most likely not updated since then.

    If you want to fix it yourself:

    Open World of Warcraft\Interface\Addons\MSBTOptions\MSBTOptionsControls.lua, goto line 1056 and find
    Code:
     local sliderFrame = CreateFrame("Slider", nil, slider);
    Add the following line right below:
    Code:
    sliderFrame:SetObeyStepOnDrag(true);
    Thank you very much! Will update myself.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •