Commit a6cfa33e authored by Niccolò Venerandi's avatar Niccolò Venerandi
Browse files

Makes the virtual padding around the panel larger to have less accidental...

Makes the virtual padding around the panel larger to have less accidental widget drag-out-of-panel events
parent 0d133cf0
......@@ -31,7 +31,7 @@ MouseArea {
// If the object has been dragged outside of the panel and there's
// a different containment there, we remove it from the panel
// containment and add it to the new one.
var padding = PlasmaCore.Units.gridUnit * 3;
var padding = PlasmaCore.Units.gridUnit * 5;
if (currentApplet && (mouse.x < -padding || mouse.y < -padding ||
mouse.x > width + padding || mouse.y > height + padding)) {
var newCont = plasmoid.containmentAt(mouse.x, mouse.y);
......
Supports Markdown
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