Fix resize handle not taking scale factor into account

This commit is contained in:
falkTX 2022-02-15 23:42:27 +00:00
parent 1260ca840f
commit bb178bb876

View file

@ -116,7 +116,7 @@ struct ResizeHandle : widget::OpaqueWidget {
}
void onDragMove(const DragMoveEvent& e) override {
size = size.plus(e.mouseDelta);
size = size.plus(e.mouseDelta.mult(APP->window->pixelRatio));
APP->window->setSize(size.round());
}
};