UI: Give private spacing helper sources names #10639
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Gives names to the spacing helper label private text sources in the preview, to make the log a bit nicer.
If people think the
dstr
is overkill (I'm a bit torn on that) I'd also be happy to change it to a genericPreview spacing label
instead.Motivation and Context
When you click on a scene item for the first time in a program run, you get this log:
While this obviously isn't a huge issue I think it's nicer to have debug lines that actually say something, so with this PR you get this:
How Has This Been Tested?
macOS 14.4.1
Ran OBS, clicked a scene item. Observed the log above.
Also created a normal source called
Preview spacing label 0
to be 100% sure that the private source names don't cause collisions.Types of changes
Checklist: