Repository navigation
Conversation
…very new scene The background color, text style and orientation widget picked in the scene menu are kept as a user setting. A new instance or a reset scene starts with them; a loaded project still shows its own scene style and never changes the user's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
The scene menu (right-click on the viewer background) now saves the user's choice as a user setting (
sceneStyle, seeuser_setting.ts). Each new instance and each reset scene starts with it.useSceneStylePreference()(app/composables/scene_style_preference.ts) holds a partial scene style. It is empty until the first choice, and the app default fills the missing values.getDefaultSceneStyle(): the user's choice >ogwFront.sceneColors> the OGW constants. Its existing callers pick up the user's choice with no change: the initial state, the reset after a project is closed, the local renderer background, and an old project saved without asceneStyle.applySceneStyleandimportSceneStyledon't, so a loaded project still shows its own scene style and never changes the user's.afterViewerResetalso sends the font and the orientation widget. It sends the widget only when the viewer draws it; with the overlay, the front draws it.Stack (same branch
feat/user_settings): Front → Vease (PiP windows geometry as user settings).Test plan
🤖 Generated with Claude Code