зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1189565 - Send resize events when backing scale factor changes. r=mstange
This commit is contained in:
Родитель
87407424dc
Коммит
1bd07d55cd
|
@ -948,6 +948,9 @@ nsChildView::BackingScaleFactorChanged()
|
|||
if (presShell) {
|
||||
presShell->BackingScaleFactorChanged();
|
||||
}
|
||||
// When the backing scale factor changes, so does our size in device pixels
|
||||
// (though not in display pixels).
|
||||
ReportSizeEvent();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1704,6 +1704,9 @@ nsCocoaWindow::BackingScaleFactorChanged()
|
|||
if (presShell) {
|
||||
presShell->BackingScaleFactorChanged();
|
||||
}
|
||||
// When the backing scale factor changes, so does our size in device pixels
|
||||
// (though not in display pixels).
|
||||
ReportSizeEvent();
|
||||
}
|
||||
|
||||
int32_t
|
||||
|
|
Загрузка…
Ссылка в новой задаче