mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 19:59:31 +02:00
Cocoa: improved in TCocoaWSWinControl.SetChildZPosition()
This commit is contained in:
parent
1136943615
commit
78bcc9b70a
@ -1974,6 +1974,8 @@ begin
|
||||
|
||||
pr := NSView(AWinControl.Handle).lclContentView;
|
||||
|
||||
if pr.subviews.count <= 1 then exit;
|
||||
|
||||
// 1. sorting is a better option than removing / adding a view.
|
||||
// whenever a focused (firstrepsonder view) is removed and added to front,
|
||||
// focus is lost. the issue was exposed by
|
||||
|
Loading…
Reference in New Issue
Block a user