cocoa: passing the checkminmax value

(cherry picked from commit e8614c81e9)
This commit is contained in:
Dmitry Boyarintsev 2021-10-03 14:08:19 -04:00 committed by Maxim Ganetsky
parent 5e1fcd37e0
commit eb16a093a9

View File

@ -45,7 +45,7 @@ implementation
procedure UpdateControlLCLToCocoa(src: TCustomFloatSpinEdit; dst: TCocoaSpinEdit);
begin
dst.UpdateControl(src.MinValue, src.MaxValue, src.Increment, src.Value, src.DecimalPlaces);
dst.UpdateControl(src.MinValue, src.MaxValue, src.Increment, src.Value, src.DecimalPlaces, src.MinValue <> src.MaxValue);
end;
{ TCocoaWSCustomFloatSpinEdit }