working thickness settings
This commit is contained in:
parent
37cfe4a023
commit
c28b0676ac
@ -217,14 +217,17 @@ Rectangle {
|
||||
case 3:
|
||||
configDialog.y = mouse.screenY - mapToItem(root, 0, startMouseY).y
|
||||
panel.thickness = configDialog.y - panel.y
|
||||
break;
|
||||
//LeftEdge
|
||||
case 5:
|
||||
configDialog.x = mouse.screenX - mapToItem(root, startMouseX, 0).x
|
||||
panel.thickness = configDialog.x - panel.x
|
||||
break;
|
||||
//RightEdge
|
||||
case 6:
|
||||
configDialog.x = mouse.screenX - mapToItem(root, startMouseX, 0).x
|
||||
panel.thickness = (panel.x + panel.width) - (configDialog.x + configDialog.width)
|
||||
break;
|
||||
//BottomEdge
|
||||
case 4:
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user