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:
parent
6641c73f59
commit
e72b814736
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user