This commit is contained in:
wangzhixun 2025-11-05 10:04:06 +08:00
parent a55eee122a
commit dc1fd35524
5 changed files with 16 additions and 16 deletions

View File

@ -332,10 +332,10 @@ namespace HighlightPlus {
hb.SetHighlighted(true);
}
return;
} else if (!highlightOnHover) {
hb.SetHighlighted(false);
return;
}
}
}
hb.SetHighlighted(state);
}

View File

@ -143,13 +143,13 @@ namespace RenderHeads.Media.AVProVideo
{
return (base.IsModified()
|| !useHardwareDecoding
|| useTextureMips
|| use10BitTextures
|| useLowLatency
|| audioOutput != WindowsUWP.AudioOutput.System
|| (audio360ChannelMode != Audio360ChannelMode.TBE_8_2)
|| videoApi != WindowsUWP.VideoApi.WinRT
|| startWithHighestBitrate
|| useLowLiveLatency
);
}

View File

@ -635,13 +635,13 @@ namespace RenderHeads.Media.AVProVideo
NextPlayer.CloseMedia();
}
}
else if (!_pausePreviousOnTransition)
{
if (NextPlayer != null && NextPlayer.Control.IsPlaying())
{
NextPlayer.Pause();
}
}
}
}
else

View File

@ -271,7 +271,7 @@ namespace Cysharp.Threading.Tasks.Internal
}
finally
{
if (lockTaken) gate.Exit(false);
gate.Exit(false);
}
return listIndex;

View File

@ -352,12 +352,12 @@ namespace Cysharp.Threading.Tasks
result.asyncOperation = asyncOperation;
result.progress = progress;
result.cancellationToken = cancellationToken;
result.cancelImmediately = cancelImmediately;
result.cancelImmediately = false;
result.completed = false;
asyncOperation.completed += result.continuationAction;
if (cancelImmediately && cancellationToken.CanBeCanceled)
if (cancellationToken.CanBeCanceled)
{
result.cancellationTokenRegistration = cancellationToken.RegisterWithoutCaptureExecutionContext(state =>
{