upload
This commit is contained in:
commit
1c7a8cf25f
579 files changed
+83196
No files matched your search
@@ -0,0 +1,25 @@
|
||||
namespace VibranceHud.Zoom;
|
||||
|
||||
public static class ZoomEmergency
|
||||
{
|
||||
internal static volatile bool WeZoomed;
|
||||
|
||||
public static void Reset()
|
||||
{
|
||||
try
|
||||
{
|
||||
MagRuntime.Native.MagSetFullscreenTransform(1f, 0, 0);
|
||||
}
|
||||
catch
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public static void ResetIfWeZoomed()
|
||||
{
|
||||
if (WeZoomed)
|
||||
{
|
||||
Reset();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user