Setup second chapter boss spawn group, template, and map. Fix issues with being able to click stage plates that were hidden behind the menu or off-screen. Fix crash when item drops spawn in a certain position. Release Build 9585.
This commit is contained in:
@@ -795,4 +795,9 @@ void Menu::ReInitializeInputGroup(){
|
||||
|
||||
const bool Menu::GameInitialized()const{
|
||||
return game->GameInitialized();
|
||||
}
|
||||
|
||||
const bool Menu::IsMouseOverMenu(){
|
||||
if(Menu::stack.size()==0)return false;
|
||||
return geom2d::overlaps(game->GetMousePos(),geom2d::rect<float>{Menu::stack.back()->pos-"Interface.9PatchSize"_V.x,Menu::stack.back()->size+"Interface.9PatchSize"_V.y*2});
|
||||
}
|
||||
Reference in New Issue
Block a user