diff --git a/Telegram/SourceFiles/platform/mac/touchbar/mac_touchbar_controls.mm b/Telegram/SourceFiles/platform/mac/touchbar/mac_touchbar_controls.mm index 32b4becd25..e2c3370340 100644 --- a/Telegram/SourceFiles/platform/mac/touchbar/mac_touchbar_controls.mm +++ b/Telegram/SourceFiles/platform/mac/touchbar/mac_touchbar_controls.mm @@ -229,7 +229,7 @@ NSSliderTouchBarItem *CreateTouchBarSlider( touchesMatchingPhase:NSTouchPhaseEnded inView:nil].count > 0; Core::Sandbox::Instance().customEnterFromEventLoop([=] { - callback(touchUp, seekBar.doubleValue, *lastDurationMs); + callback(touchUp, seekBar.slider.doubleValue, *lastDurationMs); }); } copy];