mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-09-28 13:24:14 +02:00
9b09469a53
The editor's bar row and command list mix element previews with command icons. The command icons already follow the palette through the qet-dark icon theme, and running them through ElementPreviewDelegate again flattened them to one lightness (up to 16/255 per pixel off master; a two-tone icon would have had its tones swapped). Adapt the element icons once, where the items are built, instead of installing the delegate on those lists. This also covers an element dragged from the element list onto the bar, which copies the item's icon and so previously kept the dark one until the editor was reopened. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>