mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2026-02-22 23:47:45 +01:00
Update OtterGui
This commit is contained in:
parent
6130bae81d
commit
6ecf06a671
23 changed files with 142 additions and 254 deletions
|
|
@ -5,7 +5,7 @@ using OtterGui.Classes;
|
|||
|
||||
namespace Glamourer.Events;
|
||||
|
||||
public sealed class GPoseService : EventWrapper<Action<bool>, GPoseService.Priority>
|
||||
public sealed class GPoseService : EventWrapper<bool, GPoseService.Priority>
|
||||
{
|
||||
private readonly IFramework _framework;
|
||||
private readonly IClientState _state;
|
||||
|
|
@ -56,7 +56,7 @@ public sealed class GPoseService : EventWrapper<Action<bool>, GPoseService.Prior
|
|||
return;
|
||||
|
||||
InGPose = inGPose;
|
||||
Invoke(this, InGPose);
|
||||
Invoke(InGPose);
|
||||
var actions = InGPose ? _onEnter : _onLeave;
|
||||
foreach (var action in actions)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue