Browse Source

Fix resize handle not taking scale factor into account

tags/22.03
falkTX 3 years ago
parent
commit
bb178bb876
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/override/Scene.cpp

+ 1
- 1
src/override/Scene.cpp 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());
}
};


Loading…
Cancel
Save