moved the scale reset outside of the if statement, this is to fix a bug where hovering over the last item cause other text items as well as "cancel" to enlarge.
This commit is contained in:
@@ -210,8 +210,8 @@ void SimpleMenu::Render()
|
||||
mFont->SetColor(ARGB(150,255,255,255));
|
||||
}
|
||||
(static_cast<SimpleMenuItem*> (mObjects[i]))->RenderWithOffset(-kLineHeight * startId);
|
||||
mFont->SetScale(SCALE_NORMAL);
|
||||
}
|
||||
mFont->SetScale(SCALE_NORMAL);
|
||||
}
|
||||
mFont->SetScale(SCALE_NORMAL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user