Revert "Take in account device pixel ratio when setting window extents"

This reverts commit e14bc4681d.
This commit is contained in:
John Preston 2021-02-21 08:03:00 +04:00
parent 492121950d
commit cf39753666

View file

@ -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) {