问题
I need to disable programmatically scrolling in NSSrollView
with enabled responsive scrolling.
I try override isCompatibleWithResponsiveScrolling
, then is possible to override scrollWheel
and have enabled responsive scrolling but scrollWheel
works different in that implementation. Is called only once, on start of scroll but I want to break scroll that is in progress.
It's possible to do this in different way that not need to override scrollWheel
method?
来源:https://stackoverflow.com/questions/41853163/how-to-disable-scrolling-in-nsscrollview-with-enabled-responsive-scrolling