mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-13 07:57:58 +00:00
- fixed adjustment of options menu slider with mouse
https://forum.zdoom.org/viewtopic.php?t=64063
This commit is contained in:
parent
26b8646ec1
commit
6c91d15b0a
1 changed files with 2 additions and 2 deletions
|
@ -811,8 +811,8 @@ class OptionMenuSliderBase : OptionMenuItem
|
||||||
lm.ReleaseFocus();
|
lm.ReleaseFocus();
|
||||||
}
|
}
|
||||||
|
|
||||||
int slide_left = mDrawX+8*CleanXfac_1;
|
int slide_left = mDrawX+16*CleanXfac_1;
|
||||||
int slide_right = slide_left + (10*8*CleanXfac_1 >> mSliderShort); // 12 char cells with 8 pixels each.
|
int slide_right = slide_left + (10*16*CleanXfac_1 >> mSliderShort); // 10 char cells with 16 pixels each.
|
||||||
|
|
||||||
if (type == Menu.MOUSE_Click)
|
if (type == Menu.MOUSE_Click)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue