Render all background windows, foreground window is the only one with direct focus. Background windows are darkened.
This commit is contained in:
+4
-1
@@ -1708,7 +1708,10 @@ void Crawler::RenderMenu(){
|
||||
Menu::stack.back()->Update(this);
|
||||
}
|
||||
if(Menu::stack.size()>0){
|
||||
Menu::stack.back()->Draw(this);
|
||||
FillRectDecal({0,0},WINDOW_SIZE,{0,0,0,uint8_t(255*0.4)});
|
||||
for(Menu*menu:Menu::stack){
|
||||
menu->Draw(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user