mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-10 17:21:10 +00:00
The plate's mode button showed one icon whatever the mode. It now shows the mode the plate slices as, the one its ghosts follow. imex_mode_kind() reads it from the heads beside the mode's primary: none is Normal, any Span head is Custom (the multicolor modes), otherwise any Mirror head is Mirror, and heads that all copy are Copy. One Mirror head is enough because an IQEX mirror mode copies within the primary's gantry. The icons are Felix14-v2's: the four kinds, each in light and dark with a hover state, replacing the single mode icon. Two fixes to them: the light Normal border used the dark theme's gray, and an opacity="undefined" attribute hid one of its strokes in nanosvg. The knight outlines are drawn at 1.0 rather than 0.8, matching the other plate icons and keeping Copy and Mirror apart when zoomed out. Co-authored-by: Felix14_v2 <75726196+Felix14-v2@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
OrcaSlicer tests
Building, running and writing tests is documented on the wiki, under How to Test.
Two files here rather than there, because coding agents only read what is in the repository: