Skip to content

Commit

Permalink
Minor internal changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Sirspam committed Oct 18, 2021
1 parent 95c6753 commit ae29e2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Nya/UI/ViewControllers/NSFWConfirmModalController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ private void noNSFW()
private void Parse(Transform parentTransform)
{
BSMLParser.instance.Parse(BeatSaberMarkupLanguage.Utilities.GetResourceContent(Assembly.GetExecutingAssembly(), "Nya.UI.Views.NSFWConfirmModal.bsml"), parentTransform.gameObject, this);
FieldAccessor<ModalView, bool>.Set(ref modalView, "_animateParentCanvas", true);
modalView.SetField("_animateParentCanvas", false);
if (rootTransform != null && modalTransform != null)
{
modalTransform.SetParent(rootTransform);
Expand Down
2 changes: 1 addition & 1 deletion Nya/UI/ViewControllers/NyaViewController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace Nya.UI.ViewControllers
{
internal class NyaViewController
internal abstract class NyaViewController
{
protected readonly SettingsModalController settingsModalController;
protected static SemaphoreSlim semaphore;
Expand Down

0 comments on commit ae29e2c

Please sign in to comment.