Changeset View
Changeset View
Standalone View
Standalone View
containments/desktop/package/contents/ui/FolderView.qml
Show First 20 Lines • Show All 304 Lines • ▼ Show 20 Line(s) | 284 | if (main.rubberBand) { | |||
---|---|---|---|---|---|
305 | gridView.rectangleSelect(rB.x, rB.y, rB.width, rB.height); | 305 | gridView.rectangleSelect(rB.x, rB.y, rB.width, rB.height); | ||
306 | 306 | | |||
307 | return; | 307 | return; | ||
308 | } | 308 | } | ||
309 | 309 | | |||
310 | // Drag initiation. | 310 | // Drag initiation. | ||
311 | if (pressX != -1 && systemSettings.isDrag(pressX, pressY, mouse.x, mouse.y)) { | 311 | if (pressX != -1 && systemSettings.isDrag(pressX, pressY, mouse.x, mouse.y)) { | ||
312 | if (pressedItem != null && dir.isSelected(positioner.map(pressedItem.index))) { | 312 | if (pressedItem != null && dir.isSelected(positioner.map(pressedItem.index))) { | ||
313 | pressedItem.toolTip.hideToolTip(); | ||||
313 | dragX = mouse.x; | 314 | dragX = mouse.x; | ||
314 | dragY = mouse.y; | 315 | dragY = mouse.y; | ||
315 | dir.dragSelected(mouse.x, mouse.y); | 316 | dir.dragSelected(mouse.x, mouse.y); | ||
316 | dragX = -1; | 317 | dragX = -1; | ||
317 | dragY = -1; | 318 | dragY = -1; | ||
318 | clearPressState(); | 319 | clearPressState(); | ||
319 | } else { | 320 | } else { | ||
320 | // Disable rubberband in popup list view mode. | 321 | // Disable rubberband in popup list view mode. | ||
▲ Show 20 Lines • Show All 664 Lines • Show Last 20 Lines |