Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add button to reset HUD state (Updated) #75

Closed
wants to merge 4 commits into from

Conversation

AtlantisPleb
Copy link
Contributor

@AtlantisPleb AtlantisPleb commented Aug 28, 2024

This PR addresses issue #68 by adding a button to reset the HUD state.

Changes made:

  1. Modified store/pane.ts to add a resetHUDState function.
  2. Created a new component components/ui/HUDControls.tsx with a button to reset the HUD state.
  3. Updated app/[[...rest]]/layout.tsx to include the new HUDControls component.

The reset button is now visible in the application and will reset all panes to their default positions when clicked.

Update: The button has been added to the correct layout file (app/[[...rest]]/layout.tsx) to ensure it's visible in the application.

Copy link

vercel bot commented Aug 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
v2 ❌ Failed (Inspect) Aug 28, 2024 1:31am

@AtlantisPleb AtlantisPleb changed the title Add button to reset HUD state Add button to reset HUD state (Updated) Aug 28, 2024
Copy link

The Vercel build for this PR has failed. Please check the Vercel deployment logs for more information.

Copy link

The Vercel build for this PR has failed. Please check the Vercel deployment logs for more information.

@AtlantisPleb AtlantisPleb deleted the issue-68-add-reset-hud-state branch August 28, 2024 01:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant