Skip to content

desktoppackage: fix toolbar position when dragging it

Fushan Wen requested to merge work/fuf/panel/toolbar-drag-pos-fix into master

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).

2022-05-14_11-04-20

Merge request reports