-
Notifications
You must be signed in to change notification settings - Fork 54
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
chore: break apart menu multiline strings #119
Conversation
I think it's a judgment call. Is it wrapping in the text editor or in game? If it isn't, then probably no need to fix. I can't check if this builds till the weekend, did you confirm? |
I must admit I don't have Skyrim on PC (although it was my favourite game on the PS3), and haven't been able check this myself. |
Wow thanks for taking up this work then. I'll have to build it before approving, but can't see any reason it'd cause issues. |
If you enable workflows on your fork you can also run the |
Thanks for the suggestion! My experience with workflows is limited, but I think I was able to run The workflow run is still running over here . Where can I find the draft release once the workflow successfully completes? |
Just realized that draft releases are private... So need to think over this some. Maybe I need to remove the draft flag. But releases are over here for future reference: https://github.com/rjwignar/skyrim-community-shaders/releases |
It's fine to publish, it's only published to your fork anyway! Then you can link that release here, if we want to test it before merging |
Should the action publish by default? |
I recently published my draft release. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok this works in game. Thank you. Would you be willing to also search for ImGui::Text
and handle it in the various feature code? No worries if not; I'll just have to update the initial issue to make sure it's clear it's more than menu.cpp with this issue.
for example: https://github.com/doodlum/skyrim-community-shaders/blob/dev/src/Features/ExtendedMaterials.cpp#L36-L38
I might be occupied with school commitments this month. I have a few questions though:
|
|
Change Summary
This fixes #87
Following the discussion in #87 , in
Menu.cpp
I've changed the multiline handling in tooltips that use multiple text fields (consecutive uses ofImGui::Text()
).According to the above, I identified and modified the tooltips for the below features:
Clear Shader Cache
buttonClear Disk Cache
buttonTest Interval
sliderIn the modified tooltips, I also maintained the habit of adding an extra space at the end of the final string, which was already present in the
Toggle Error Message
button tooltip:skyrim-community-shaders/src/Menu.cpp
Lines 361 to 365 in b105489
Compiler Threads
slider tooltip:skyrim-community-shaders/src/Menu.cpp
Lines 513 to 515 in b105489
Possible Additional Changes (Pending maintainers' request)
In
menu.cpp
I found the following **multi-sentence, single-string tooltips ** but was unsure whether they required modification (please note that entire paragraphs - not individual sentences - are wrapped in double quotes):The
Enable Async
checkbox tooltip (line 407):skyrim-community-shaders/src/Menu.cpp
Lines 401 to 410 in 2fcc62f
The
Dump Shaders
checkbox tooltip (line 466):skyrim-community-shaders/src/Menu.cpp
Lines 460 to 469 in 2fcc62f
The
Log Level
combo box tooltip (line 488):skyrim-community-shaders/src/Menu.cpp
Lines 481 to 491 in 2fcc62f
...and the
Shader Defines
tooltip (line 500):skyrim-community-shaders/src/Menu.cpp
Lines 494 to 503 in 2fcc62f
Please let me know if the above tooltips should also be modified to match the proposed changes.
Please let me know if other changes are required.
Additionally, if this PR is approved and merged, I'd like this contribution to count towards my Hacktoberfest 2023 progress.
If the above changes are approved and merged, could the
hacktoberfest-accepted
label be added to the PR/MR?Thank you for considering these changes.