mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- fixed hitbox for menu sliders.
This commit is contained in:
parent
9cffd5b364
commit
ce9b71a31f
1 changed files with 2 additions and 2 deletions
|
@ -695,8 +695,8 @@ public:
|
|||
lm->ReleaseFocus();
|
||||
}
|
||||
|
||||
int slide_left = mDrawX+8*CleanXfac_1;
|
||||
int slide_right = slide_left + (10*8*CleanXfac_1 >> mSliderShort); // 10 char cells with 8 pixels each.
|
||||
int slide_left = mDrawX+16*CleanXfac_1;
|
||||
int slide_right = slide_left + (10*16*CleanXfac_1 >> mSliderShort); // 10 char cells with 8 pixels each.
|
||||
|
||||
if (type == DMenu::MOUSE_Click)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue