mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2026-01-12 15:31:25 +01:00
Cocoa: ScrollElasticity effect disabled in the Form, keep consistent with MacOS native APP and also consistent with other platforms
This commit is contained in:
parent
07f7a1931e
commit
5efe24f6c7
@ -719,6 +719,8 @@ begin
|
||||
cnt := TCocoaWindowContent.alloc.initWithFrame(R);
|
||||
cb := TLCLWindowCallback.Create(doc, AWinControl, cnt);
|
||||
|
||||
cnt.setVerticalScrollElasticity(NSScrollElasticityNone);
|
||||
cnt.setVerticalScrollElasticity(NSScrollElasticityNone);
|
||||
cnt.callback := cb;
|
||||
doc.wincallback := cb;
|
||||
doc.callback := cb;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user