Skip to content

Show one drop-down arrow on the translation switcher - #58

Merged
xprees merged 2 commits into
masterfrom
ccr-f27f9a8d-ohbasu-switcher-chevron
Nov 17, 2026
Merged

xprees merged 2 commits into
masterfrom
ccr-f27f9a8d-ohbasu-switcher-chevron

Conversation

@xprees

@xprees xprees commented Nov 17, 2026

Copy link
Copy Markdown
Owner

What and why

Reported with a screenshot: the floating translation switcher shows ⌄ EN ⌄, with two chevrons.

The toolbar already draws a drop-down arrow after the text of a popup group, which is the usual IntelliJ placement (the run configuration and VCS widgets put it there too). The group also set AllIcons.General.ChevronDown as its icon, and that added a second arrow before the locale. This PR removes the icon, so the button reads EN ⌄.

How it was tested

  • ComarkTranslationsTest.testSwitcherGroup now also asserts that the group has no icon of its own.
  • ./gradlew test --tests 'cz.xprees.comark.translations.*': 10 tests, 0 failures.

Generated by Claude Code

The toolbar already draws an arrow after a popup group's text; the
explicit ChevronDown icon added a second one before the locale.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KGGeqcwjamvMDTrazMJWkz
…-switcher-chevron

# Conflicts:
#	CHANGELOG.md
@xprees
xprees merged commit e43c42b into master Nov 17, 2026
7 checks passed
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