зеркало из https://github.com/mozilla/gecko-dev.git
Bug 514648 - Non-resizable windows don't have resizers, even though -[NSWindow showsResizeIndicator] pretends they do. r=josh
--HG-- extra : rebase_source : fa03586a85d48a1ef5dd6db4ac8aecaf81477216
This commit is contained in:
Родитель
9a989a2004
Коммит
66762ebee6
|
@ -1182,7 +1182,8 @@ PRBool nsChildView::ShowsResizeIndicator(nsIntRect* aResizerRect)
|
|||
while ((superView = [topLevelView superview]))
|
||||
topLevelView = superView;
|
||||
|
||||
if (![[topLevelView window] showsResizeIndicator])
|
||||
if (![[topLevelView window] showsResizeIndicator] ||
|
||||
!([[topLevelView window] styleMask] & NSResizableWindowMask))
|
||||
return PR_FALSE;
|
||||
|
||||
if (aResizerRect) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче