Merge pull request #21147 from mjmdavis:4.x

* remove tickmarks on NSSlider
pull/21194/head
Michael Davis 3 years ago committed by GitHub
parent 4935b14539
commit d2f87ca76c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      modules/highgui/src/window_cocoa.mm

@ -944,8 +944,6 @@ static NSSize constrainAspectRatio(NSSize base, NSSize constraint) {
[[slider name] setStringValue:cvname];
[[slider slider] setMaxValue:max];
[[slider slider] setMinValue:0];
[[slider slider] setNumberOfTickMarks:(max+1)];
[[slider slider] setAllowsTickMarkValuesOnly:YES];
if(value)
{
[[slider slider] setIntValue:*value];

Loading…
Cancel
Save