mirror of
https://github.com/babalae/better-genshin-impact.git
synced 2026-05-31 10:47:31 +08:00
Merge remote-tracking branch 'origin/main'
This commit is contained in:
7
1岩水雷火四神.txt
Normal file
7
1岩水雷火四神.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
// 作者:百事都不通
|
||||
// 描述:四神指钟离、芙宁娜、雷电将军、玛薇卡
|
||||
|
||||
钟离 s(0.2),e(hold),wait(0.3),w(0.2),q
|
||||
芙宁娜 e,wait(0.3),q
|
||||
雷电将军 e
|
||||
玛薇卡 e
|
||||
@@ -1,6 +1,6 @@
|
||||
using Fischless.GameCapture.Graphics.Helpers;
|
||||
using System.Diagnostics;
|
||||
using Fischless.GameCapture.Graphics.Helpers;
|
||||
using SharpDX.Direct3D11;
|
||||
using System.Diagnostics;
|
||||
using Vanara.PInvoke;
|
||||
using Windows.Foundation.Metadata;
|
||||
using Windows.Graphics.Capture;
|
||||
@@ -55,7 +55,10 @@ public class GraphicsCapture : IGameCapture
|
||||
}
|
||||
|
||||
_captureSession = _captureFramePool.CreateCaptureSession(_captureItem);
|
||||
_captureSession.IsCursorCaptureEnabled = false;
|
||||
if (ApiInformation.IsPropertyPresent("Windows.Graphics.Capture.GraphicsCaptureSession", "IsCursorCaptureEnabled"))
|
||||
{
|
||||
_captureSession.IsCursorCaptureEnabled = false;
|
||||
}
|
||||
if (ApiInformation.IsWriteablePropertyPresent("Windows.Graphics.Capture.GraphicsCaptureSession", "IsBorderRequired"))
|
||||
{
|
||||
_captureSession.IsBorderRequired = false;
|
||||
|
||||
Reference in New Issue
Block a user