desktoppackage: fix toolbar position when dragging it
This calculates the distance between the start position to the edge of the toolbar `startDragOffset`, and uses the offset to determine the position of configDialog. This also calculates `zoomFactor` to restore the relative mouse position when the form factor of the panel is changed (horizontal to vertical, or vice versa).
Please register or sign in to comment