corrected x offset of selectable area of the menu items. For Simple Menus, clicking on the row from that point to 200px is the selectable area.
This commit is contained in:
@@ -94,7 +94,7 @@ bool SimpleMenuItem::ButtonPressed()
|
||||
|
||||
void SimpleMenuItem::Relocate(float x, float y)
|
||||
{
|
||||
mXOffset = x;
|
||||
mXOffset = x - (parent->getWidth()/2); // determines the leftmost point of the text;
|
||||
mX = x;
|
||||
mY = y;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user