Skip to content

Commit 1f2cb14

Browse files
committedFeb 17, 2025·
revert changes in OverlayUIState
1 parent e019f1a commit 1f2cb14

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed
 

‎Brio/UI/Windows/Specialized/PosingOverlayWindow.cs

+8-8
Original file line numberDiff line numberDiff line change
@@ -494,14 +494,14 @@ public void Dispose()
494494

495495
private class OverlayUIState(PosingConfiguration configuration)
496496
{
497-
public bool PopupOpen => ImGui.IsPopupOpen(_boneSelectPopupName);
498-
public bool UsingGizmo => ImGuizmo.IsUsing();
499-
public bool HoveringGizmo => ImGuizmo.IsOver();
500-
public bool AnyActive => ImGui.IsAnyItemActive();
501-
public bool AnyWindowHovered => ImGui.IsWindowHovered(ImGuiHoveredFlags.AnyWindow);
502-
public bool UserDisablingSkeleton => InputService.IsKeyBindDown(KeyBindEvents.Posing_DisableSkeleton);
503-
public bool UserDisablingGizmo => InputService.IsKeyBindDown(KeyBindEvents.Posing_DisableGizmo);
504-
public bool UserHidingOverlay => InputService.IsKeyBindDown(KeyBindEvents.Posing_HideOverlay);
497+
public bool PopupOpen = ImGui.IsPopupOpen(_boneSelectPopupName);
498+
public bool UsingGizmo = ImGuizmo.IsUsing();
499+
public bool HoveringGizmo = ImGuizmo.IsOver();
500+
public bool AnyActive = ImGui.IsAnyItemActive();
501+
public bool AnyWindowHovered = ImGui.IsWindowHovered(ImGuiHoveredFlags.AnyWindow);
502+
public bool UserDisablingSkeleton = InputService.IsKeyBindDown(KeyBindEvents.Posing_DisableSkeleton);
503+
public bool UserDisablingGizmo = InputService.IsKeyBindDown(KeyBindEvents.Posing_DisableGizmo);
504+
public bool UserHidingOverlay = InputService.IsKeyBindDown(KeyBindEvents.Posing_HideOverlay);
505505

506506

507507
public bool AnythingBusy => PopupOpen || UsingGizmo || AnyActive || AnyWindowHovered;

0 commit comments

Comments
 (0)
Please sign in to comment.