Skip to content

Commit

Permalink
Merge pull request #609 from ow-mods/dev
Browse files Browse the repository at this point in the history
fix small back-compat bug
  • Loading branch information
misternebula authored Feb 13, 2025
2 parents fb894bf + 12c6187 commit cd5bafb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/OWML.Common/Interfaces/Menus/IOWMLPopupInputMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ public interface IOWMLPopupInputMenu

public void SetText(string message, string placeholderMessage, string confirmText, string cancelText);

public void CloseMenuOnOk(bool closeMenuOnOk);

public event PopupMenu.PopupConfirmEvent OnPopupConfirm;
public event Menu.ActivateMenuEvent OnActivateMenu;
public event Menu.DeactivateMenuEvent OnDeactivateMenu;
Expand Down
2 changes: 1 addition & 1 deletion src/OWML.Launcher/OWML.Manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"author": "Alek",
"name": "OWML",
"uniqueName": "Alek.OWML",
"version": "2.15.0",
"version": "2.15.1",
"minGameVersion": "1.1.15.1018",
"maxGameVersion": "1.1.15.1018"
}
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ public void SetText(string message, string placeholderMessage, string confirmTex

public override void SetUpPopup(string message, IInputCommands okCommand, IInputCommands cancelCommand, ScreenPrompt okPrompt, ScreenPrompt cancelPrompt, bool closeMenuOnOk = true, bool setCancelButtonActive = true)
{
_closeMenuOnOk = closeMenuOnOk;
_setCancelButtonActive = setCancelButtonActive;
base.SetUpPopup(message, okCommand, cancelCommand, okPrompt, cancelPrompt, closeMenuOnOk, setCancelButtonActive);
this._selectOnActivate = this._inputField;
Expand Down

0 comments on commit cd5bafb

Please sign in to comment.