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 Overlay Binding Notification on Game Start #986

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dragonzkiller
Copy link
Contributor

Took us 4 years, but this commit adds an small notification to the bottom left of the screen with the current bind to remind people what it was set to.

Example shown in Discord: https://discord.com/channels/717692382849663036/795081899756224572/1300137119255232573

@WSSDude WSSDude self-requested a review December 14, 2024 16:15
@@ -195,12 +197,40 @@ void Overlay::Update()
}
}

// Display binding in bottom right corner for 5 seconds
if (!Bindings::IsFirstTimeSetup() && !m_bindHintShown)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would rather do something like in feature/notifications branch instead of this, and consider expanding it to sol_ImGui for mods to use.

Maybe even add some setting for the type of spdlog loglevel to notify about and automatically notify when someone logs something. Could be very useful for mods and also internal errors.

The branch needs tweaking, is just a starting point basically reimplementing this PR. It has issues with close button looking weird (probably collision with our style vs. default ImGui style the ImGuiNotify expects...) and is missing license in ThirdParty_LICENSE file.

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.

2 participants