Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
parg committed Dec 18, 2024
1 parent 50089a3 commit 871b2f8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion uis/src/com/biglybt/ui/swt/views/skin/sidebar/SideBar.java
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,7 @@ public void handleEvent(final Event event) {
SideBarEntrySWT entry = (SideBarEntrySWT) ((treeItem == null || treeItem.isDisposed())
? null : treeItem.getData("MdiEntry"));

if ( entry != null ){
if ( entry != null && event.button == 1 ){

// don't trigger popout if double click is in close area or
// item has child and user is clicking in the expandy area
Expand Down Expand Up @@ -1380,6 +1380,8 @@ public void menuShown(MenuEvent e) {

if ( entry != null ){

entry.redraw();

fillMenu(menuTree, entry, "sidebar");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -645,6 +645,12 @@ protected void swt_paintSideBar(Event event) {
itemBounds.height = drawBounds.height;

drawBounds = itemBounds;

}else if ( Constants.isOSX ){

itemBounds.height = drawBounds.height;

drawBounds = itemBounds;
}

String text = getTitle();
Expand Down

0 comments on commit 871b2f8

Please sign in to comment.