# 0.2.9-1 HotFix
- Fix Bug where Input is locked for ever when removing a Menu by Changing its name / Not Process it anymore
This commit is contained in:
		| @@ -37,7 +37,7 @@ SOFTWARE. | ||||
|  *         Major Minor Patch Build | ||||
|  * 0x01010000 -> 1.1.0-0 | ||||
|  */ | ||||
| #define UI7_VERSION 0x00020900 | ||||
| #define UI7_VERSION 0x00020901 | ||||
|  | ||||
| namespace PD { | ||||
| namespace UI7 { | ||||
|   | ||||
| @@ -103,11 +103,19 @@ void UI7::Context::Update(float delta) { | ||||
|   Assert(current == nullptr, "Still in a Menu!"); | ||||
|   this->io->Delta = delta; | ||||
|   io->DeltaStats->Add(io->Delta * 1000); | ||||
|   bool focused_exist = false; | ||||
|   for (auto it : amenus) { | ||||
|     auto m = menus[it]; | ||||
|     io->CurrentMenu = m->id; | ||||
|     m->Update(io->Delta); | ||||
|     io->CurrentMenu = 0; | ||||
|     if (it == io->FocusedMenu) { | ||||
|       focused_exist = true; | ||||
|     } | ||||
|   } | ||||
|   if (!focused_exist) { | ||||
|     io->FocusedMenu = 0; | ||||
|     io->FocusedMenuRect = 0; | ||||
|   } | ||||
|   int list = 0; | ||||
|   u32 vtx_counter = 0; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user