Bump UniverseLib to 1.0.4, use HighlightMethod, add Clipboard (unfinished)

This commit is contained in:
Sinai
2022-01-17 20:23:58 +11:00
parent a73e992a0c
commit aae248bf69
6 changed files with 32 additions and 51 deletions

View File

@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace UnityExplorer.UI
{
public static class Clipboard
{
public static object Current { get; private set; }
public static void Init()
{
}
public static void Copy(object obj)
{
Current = obj;
}
}
}

View File

@ -102,6 +102,7 @@ namespace UnityExplorer.UI
// Call some initialize methods
ConsoleController.Init();
Clipboard.Init();
// Add this listener to prevent ScrollPool doing anything while we are resizing panels
ScrollPool<ICell>.writingLockedListeners.Add(() => !PanelDragger.Resizing);