Fix resize handle not taking scale factor into account
This commit is contained in:
parent
1260ca840f
commit
bb178bb876
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue