View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0019248 | AI War 2 | GUI | Oct 7, 2017 1:51 pm | Oct 7, 2017 4:13 pm | |
Reporter | BadgerBadger | Assigned To | keith.lamothe | ||
Status | resolved | Resolution | fixed | ||
Product Version | 0.523 | ||||
Fixed in Version | 0.524 | ||||
Summary | 0019248: Hitting "B" to open build menu doesn't close previous menus first | ||||
Description | If you have part of the bottom menu open (lets say Esc->2 for the debug menu) and then hit "B" to open a build menu, the old windows aren't closed first, so you wind up with really weird looking overlaps. Observe in the picture that I have a build queue, but also "Tracing" and "Spawn AI Wave" options visible. Here is my proposed fix in Input_MainHandler.cs case "SelectBuilder": { if ( !World.Instance.IsLoaded ) return; WorldSide localSide = World_AIW2.Instance.GetLocalSide(); if ( localSide == null ) return; Planet planet = Engine_AIW2.Instance.NonSim_GetPlanetBeingCurrentlyViewed(); if ( planet == null ) return; GameEntity currentBuilder = null; if ( Engine_AIW2.Instance.GetHasSelection() ) { currentBuilder = ArcenExternalUIUtilities.GetEntityToUseForBuildMenu(); if ( currentBuilder != null ) Engine_AIW2.Instance.ClearSelection(); } /* When you select a builder, also close the currently open menus */ Window_InGameBottomMenu.Instance.CloseAllExpansions(); //Adding this line will fix the problem | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
Oct 7, 2017 1:51 pm | BadgerBadger | New Issue | |
Oct 7, 2017 1:51 pm | BadgerBadger | File Added: overlappingMenus.jpg | |
Oct 7, 2017 4:13 pm | keith.lamothe | Assigned To | => keith.lamothe |
Oct 7, 2017 4:13 pm | keith.lamothe | Status | new => resolved |
Oct 7, 2017 4:13 pm | keith.lamothe | Resolution | open => fixed |
Oct 7, 2017 4:13 pm | keith.lamothe | Fixed in Version | => 0.524 |
Oct 7, 2017 4:13 pm | keith.lamothe | Note Added: 0046501 |