Skip to content

feat(app): add option to keep previous brightness/contrast settings - #1678

Merged
wkentaro merged 3 commits into
mainfrom
feat_app_add_option_to_keep_previous_brightness_contrast_settings
Oct 15, 2025
Merged

wkentaro merged 3 commits into
mainfrom
feat_app_add_option_to_keep_previous_brightness_contrast_settings

Conversation

@wkentaro

Copy link
Copy Markdown
Owner
image

@wkentaro
wkentaro requested a review from Copilot October 15, 2025 10:57
@wkentaro wkentaro self-assigned this Oct 15, 2025
@wkentaro wkentaro changed the title feat(app): add option to keep previous brightness/contrast settings feat(app): add option to keep previous brightness/contrast setting Oct 15, 2025
@wkentaro wkentaro changed the title feat(app): add option to keep previous brightness/contrast setting feat(app): add option to keep previous brightness/contrast settings Oct 15, 2025

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds an option to keep previous brightness and contrast settings together, consolidating two separate configuration options into a single unified setting.

  • Replaces separate keep_prev_brightness and keep_prev_contrast config options with a combined keep_prev_brightness_contrast option
  • Adds migration logic to handle existing config files with the old settings
  • Updates the UI to include a toggle for the new combined setting

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
labelme/config/default_config.yaml Consolidates two brightness/contrast config options into one
labelme/config/init.py Adds migration function to handle old config settings
labelme/app.py Updates UI and logic to use the new combined setting

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread labelme/app.py
@wkentaro
wkentaro merged commit 75d7f71 into main Oct 15, 2025
4 checks passed
@wkentaro
wkentaro deleted the feat_app_add_option_to_keep_previous_brightness_contrast_settings branch October 15, 2025 11:13
@wkentaro wkentaro added this to the v5.9.0 milestone Oct 15, 2025
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