Skip to content

Commit

Permalink
Improve contrast of "Drag all" button
Browse files Browse the repository at this point in the history
Previously the black text on dark pink background was a bit hard to
read.
  • Loading branch information
vimpostor committed Jan 3, 2024
1 parent 713f775 commit 68dabed
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
4 changes: 2 additions & 2 deletions doc/man/man1/blobdrop.1
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ $ \fBgrep\fP \-R \-\-files\-with\-matches uploadable | \fBblobdrop\fP
.in
.PP

The example below spawns a window under the cursor that intercepts any existing drag and drop operation and converts it into an outgoing immediate drag and drop operation. This can be helpful for touchpad users.
The example below spawns a window under the cursor that intercepts any existing drag and drop operation and converts it into an outgoing immediate drag and drop operation. This can be helpful for touchpad users, where needing to hold a mouse button while simultaneously moving the mouse is an accessibility nightmare.
.PP
.in +2n
.EX
Expand All @@ -180,7 +180,7 @@ map <C\-d> shell blobdrop %p
.in
.PP

In tmux it is possible to drag the file under the cursor on double click with this cursed oneliner keybinding:
In tmux it is possible to drag the file under the cursor on double click with this "oneliner" keybinding:
.PP
.in +2n
.EX
Expand Down
19 changes: 8 additions & 11 deletions src/qml/PathView.qml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,14 @@ ListView {
Behavior on height { NumberAnimation { duration: 300; easing.type: Easing.InOutSine }}
visible: pathView.count > 1
highlighted: true
Label {
anchors.centerIn: parent
text: "Drag all " + pathView.count + " items"
Button {
id: dragallDummy
visible: false
icon.name: "emblem-documents-symbolic"
icon.color: "transparent"
width: 64
height: 64
}
text: "Drag all " + pathView.count + " items"
Button {
id: dragallDummy
visible: false
icon.name: "emblem-documents-symbolic"
icon.color: "transparent"
width: 64
height: 64
}
DragArea {
anchors.fill: parent
Expand Down

0 comments on commit 68dabed

Please sign in to comment.