Skip to content

Make slice selection more clear (fix #5484)#5490

Merged
dacap merged 1 commit into
aseprite:betafrom
ckaiser:slice-clarification
Nov 19, 2025
Merged

Make slice selection more clear (fix #5484)#5490
dacap merged 1 commit into
aseprite:betafrom
ckaiser:slice-clarification

Conversation

@ckaiser

@ckaiser ckaiser commented Oct 26, 2025

Copy link
Copy Markdown
Member

Fixes #5484 for the most part, turning the ComboBox entry into a SearchEntry would be ideal but that'd require a big refactor of how they work, so this PR is a simpler fix:

  • Adds a placeholder to the entry
  • Enables the properties/delete icons only when we have a valid slice selected so we have a visual indicator

@ckaiser ckaiser requested a review from dacap as a code owner October 26, 2025 18:23
@ckaiser ckaiser self-assigned this Oct 26, 2025

@aseprite-bot aseprite-bot left a comment

Copy link
Copy Markdown
Collaborator

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


void updateState()
{
if (auto editor = Editor::activeEditor()) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

warning: 'auto editor' can be declared as 'auto *editor' [readability-qualified-auto]

Suggested change
if (auto editor = Editor::activeEditor()) {
{auto *

@ckaiser ckaiser assigned dacap and unassigned ckaiser Oct 29, 2025
@dacap

dacap commented Nov 19, 2025

Copy link
Copy Markdown
Member

LGTM 👍

@dacap dacap merged commit 3598f78 into aseprite:beta Nov 19, 2025
12 checks passed
@dacap dacap linked an issue Nov 19, 2025 that may be closed by this pull request
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.

Slice combo box search field might be confusing

3 participants