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

Fix #4876 Refactored Show Brush Preview #4879

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

S4HRKBOY
Copy link
Contributor

Fix #4876
Refactored brush Preview from DocPref to GlobalPref.

@S4HRKBOY S4HRKBOY requested a review from dacap as a code owner December 11, 2024 20:37
@aseprite-bot
Copy link
Collaborator

clang-tidy review says "All clean, LGTM! 👍"

@S4HRKBOY S4HRKBOY force-pushed the BrushPreview_GlobalPreference branch from cc7fce5 to e3a2a4b Compare December 13, 2024 00:49
@aseprite-bot
Copy link
Collaborator

Hi there!

One or more of the commit messages in this PR do not match our code submission policy, please check the lint_commits CI job for more details on which commits were flagged and why.
Please do not close this PR and open another, instead modify your commit message(s) with git commit --amend and force push those changes to update this PR.

@aseprite-bot
Copy link
Collaborator

clang-tidy review says "All clean, LGTM! 👍"

@S4HRKBOY S4HRKBOY force-pushed the BrushPreview_GlobalPreference branch from e3a2a4b to f9ed1c9 Compare December 13, 2024 15:17
@aseprite-bot
Copy link
Collaborator

clang-tidy review says "All clean, LGTM! 👍"

Copy link
Collaborator

@aseprite-bot aseprite-bot left a comment

Choose a reason for hiding this comment

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

clang-tidy made some suggestions

|| m_docPref.show.brushPreviewInPreview())) {
(// 1) it doesn't contains the brush preview (e.g. the user
// is transforming the selection),
extraCel->purpose() != ExtraCel::Purpose::BrushPreview
Copy link
Collaborator

Choose a reason for hiding this comment

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

warning: no header providing "app::ExtraCel" is directly included [misc-include-cleaner]

         extraCel->purpose() != ExtraCel::Purpose::BrushPreview
                                ^

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.

Make the View > Preview > Brush Preview a global preference
2 participants