Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

Commit

Permalink
Fix drag up when bar is on the bottom
Browse files Browse the repository at this point in the history
  • Loading branch information
vicr123 committed Sep 10, 2017
1 parent 4f898ae commit 108371b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion infopanedropdown.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,11 @@ void InfoPaneDropdown::show(dropdownType showWith) {
this->setFixedWidth(screenGeometry.width());
this->setFixedHeight(screenGeometry.height());

previousDragY = -1;
if (settings.value("bar/onTop", true).toBool()) {
previousDragY = -1;
} else {
previousDragY = screenGeometry.bottom();
}
completeDragDown();
}

Expand Down

0 comments on commit 108371b

Please sign in to comment.