Files
2026-11-24 23:40:08 +03:00

26 lines
312 B
C#

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();
}
}
}