Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PopupInput fixes #404

Merged
merged 5 commits into from
Nov 3, 2021
Merged

PopupInput fixes #404

merged 5 commits into from
Nov 3, 2021

Conversation

TAImatem
Copy link
Contributor

@TAImatem TAImatem commented Nov 3, 2021

Popup input seems to work correctly now (not block mouse input, come back to Mod Config Menu when closed), although opening it from pause menu is broken now smh

private void OnTabOpen(IModTabMenu tabMenu)
{
var selectablesStack = MenuStackManager.SharedInstance.GetValue<Stack<Selectable>>("_lastSelectedStack");
if ((selectablesStack.Count + _menuStackCount) == MenuStackManager.SharedInstance.GetMenuCount())
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe >= just in case?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, it would be ≤ then

@TAImatem TAImatem merged commit 90f65c0 into dev Nov 3, 2021
@TAImatem TAImatem deleted the popupinput_fixes branch November 3, 2021 20:42
@TAImatem TAImatem linked an issue Nov 4, 2021 that may be closed by this pull request
Raicuparta added a commit that referenced this pull request Nov 13, 2021
* fixed asset colors

* 2.0.1

* fixed exiting from OWML config menu with button press (#371)

* Allow external patchers to execute before the game (#370)

* Added support for external patchers declared in the manifest

* Fixed typo

* Only check for patcher parameter

* Fixed identation

* again...

* Removed useless check

Co-authored-by: Ricardo <Raicuparta@users.noreply.github.com>

* ModsMenu fixes (#374) (#375)

* Cancel now also saves, properly unsubscribe events when scene changes

* Conform to repo's code style

* Remove useless cleanup logic

Co-authored-by: artum <jacopo.libe@gmail.com>

* 2.1.0 (#376)

* Remove RequireVR (#378)

* patcher cleanup (#379)

* patcher cleanup

* cleanup

* cleanup

* Select first fix (#380)

* fixed SelectFirstOnActivate in OWML menus and tweaked nav generation

* Fixed issue with selector, text, and number inputs (#389)

* Better tab nav (#382)

* Run game through epic launcher / steam (#381)

* Remove redundant description (#386)

No longer used anywhere

* Fixes Issue#390: Controller Overriding Input Values (#392)

* Fix Text Input

* Fix number input

* Adding separators as mod settings, to make large configurations easier to parse (#393)

* Added deeper menus for text and number inputs (#394)

* Merge + cleanup (#396)

* fix manifest versions

* Prevent warning on minor version difference

* Option to launch through exe (#402)

* remove test unpatching in sample mod

* update sample mods' owml version

* add forceExe option to owml config

* use forceExe config to force running through exe

* PopupInput fixes (#404)

* first batch (still doesn't reopen the correct menu and has a bunch of debug lines)

* exiting InputPopup now seems to return to it's ModConfig tab correctly

* fixfixfix (something something pause menu)

* removed stray tabs

* removed comments

* Scrollable modconfigmenus (#406)

* added names to added gameObjects (#407)

* modmenus names

* also a main/pause menu MODS button

* Always save when exiting (#408)

* Update ModMenu.cs (#405)

Some minor refactoring to make it more obvious what is happening.

* added null mod check (#409)

Co-authored-by: Aleksandr <TAImatem@gmail.com>
Co-authored-by: artum <jacopo.libe@gmail.com>
Co-authored-by: Ricardo <Raicuparta@users.noreply.github.com>
Co-authored-by: Joseph <salomj9@gmail.com>
Co-authored-by: _nebula <41904486+misternebula@users.noreply.github.com>
Co-authored-by: Raicuparta <raicuparta@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

InputPopup steals input devices and never gives them back
2 participants