Commit 3a39bd94 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

Fix typo

parent a3b679d4
......@@ -154,7 +154,7 @@ QtObject {
const visualParentWindow = visualParent.Window.window;
if (visualParentWindow) {
const left = Math.max(rect.left, visualParentWindow.x);
const right = Math.max(rect.right, visualParentWindow.x + visualParentWindow.width);
const right = Math.min(rect.right, visualParentWindow.x + visualParentWindow.width);
rect = Qt.rect(left, rect.y, right - left, rect.height);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment