πŸŽπŸ› make displaying alternate tray image depend on mouse down event instead of highlight state

This commit is contained in:
leethomas 2016-01-05 09:47:19 -08:00
Π ΠΎΠ΄ΠΈΡ‚Π΅Π»ΡŒ 5f0be5636a
ΠšΠΎΠΌΠΌΠΈΡ‚ 59eda67ba4
1 ΠΈΠ·ΠΌΠ΅Π½Ρ‘Π½Π½Ρ‹Ρ… Ρ„Π°ΠΉΠ»ΠΎΠ²: 1 Π΄ΠΎΠ±Π°Π²Π»Π΅Π½ΠΈΠΉ ΠΈ 1 ΡƒΠ΄Π°Π»Π΅Π½ΠΈΠΉ

ΠŸΡ€ΠΎΡΠΌΠΎΡ‚Ρ€Π΅Ρ‚ΡŒ Ρ„Π°ΠΉΠ»

@ -92,7 +92,7 @@ const CGFloat kVerticalTitleMargin = 2;
// Make use of NSImageView to draw the image, which can correctly draw
// template image under dark menu bar.
if (highlight && alternateImage_ &&
if (inMouseEventSequence_ && alternateImage_ &&
[image_view_ image] != alternateImage_.get()) {
[image_view_ setImage:alternateImage_];
} else if ([image_view_ image] != image_.get()) {