Revert "Take in account device pixel ratio when setting window extents"
This reverts commit e14bc4681d.
This commit is contained in:
parent
492121950d
commit
cf39753666
1 changed files with 1 additions and 2 deletions
|
|
@ -11,7 +11,6 @@
|
|||
#include "ui/widgets/window.h"
|
||||
#include "ui/widgets/shadow.h"
|
||||
#include "ui/painter.h"
|
||||
#include "ui/style/style_core_scale.h"
|
||||
#include "styles/style_widgets.h"
|
||||
#include "styles/style_layers.h"
|
||||
|
||||
|
|
@ -369,7 +368,7 @@ void DefaultWindowHelper::updateWindowExtents() {
|
|||
if (hasShadow()) {
|
||||
Platform::SetWindowExtents(
|
||||
window()->windowHandle(),
|
||||
resizeArea() * style::DevicePixelRatio());
|
||||
resizeArea());
|
||||
|
||||
_extentsSet = true;
|
||||
} else if (_extentsSet) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue