Forráskód Böngészése

Fix function sig and usage.

Halsafar 4 éve
szülő
commit
6fde6a56bb

+ 2 - 2
SongBrowserPlugin/UI/Keyboard/SearchKeyboardViewController.cs

@@ -20,9 +20,9 @@ namespace SongBrowser.UI
         public event Action<string> searchButtonPressed;
         public event Action backButtonPressed;
 
-        protected override void DidActivate(bool firstActivation, ActivationType type)
+        protected override void DidActivate(bool firstActivation, bool addedToHierarchy, bool screenSystemEnabling)
         {
-            if (type == ActivationType.AddedToHierarchy && firstActivation)
+            if (addedToHierarchy && firstActivation)
             {
                 _searchKeyboardGO = Instantiate(Resources.FindObjectsOfTypeAll<UIKeyboard>().First(x => x.name != "CustomUIKeyboard"), rectTransform, false).gameObject;