1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-25 17:08:07 +02:00

Use identical pinned/unpinned images for button and play head.

This commit is contained in:
James Crook 2016-08-20 00:48:24 +01:00
parent 6641c73f59
commit e72b814736

View File

@ -2090,11 +2090,12 @@ void AdornedRulerPanel::ReCreateButtons()
mButtons[iButton++] = button; mButtons[iButton++] = button;
return button; return button;
}; };
auto button = buttonMaker(OnTogglePinnedStateID, bmpPinnedPlayHead, true); auto button = buttonMaker(OnTogglePinnedStateID, bmpPlayPointerPinned, true);
ToolBar::MakeAlternateImages( ToolBar::MakeAlternateImages(
*button, 1, *button, 1,
bmpRecoloredUpSmall, bmpRecoloredDownSmall, bmpRecoloredHiliteSmall, bmpRecoloredUpSmall, bmpRecoloredDownSmall, bmpRecoloredHiliteSmall,
bmpUnpinnedPlayHead, bmpUnpinnedPlayHead, bmpUnpinnedPlayHead, //bmpUnpinnedPlayHead, bmpUnpinnedPlayHead, bmpUnpinnedPlayHead,
bmpPlayPointer, bmpPlayPointer, bmpPlayPointer,
size); size);
UpdateButtonStates(); UpdateButtonStates();