From 8845652f772b2ba50786982fbf332b02c8f180de Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Fri, 13 Nov 2020 23:56:30 +0300 Subject: [PATCH] Fixed macOS build. --- .../SourceFiles/platform/mac/touchbar/mac_touchbar_controls.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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];