Fix context menu for osmand map creator
This commit is contained in:
parent
3b1c05c405
commit
b2bf8fbb46
1 changed files with 1 additions and 1 deletions
|
@ -738,7 +738,7 @@ public class MapPanel extends JPanel implements IMapDownloaderCallback {
|
|||
}
|
||||
|
||||
// possible bug if popup neither button1|| button3
|
||||
if(willBePopupShown && e.isPopupTrigger()){
|
||||
if(willBePopupShown && (e.isPopupTrigger() || e.getButton() == MouseEvent.BUTTON3)){
|
||||
popupMenuPoint = new Point(e.getX(), e.getY());
|
||||
popupMenu.show(MapPanel.this, e.getX(), e.getY());
|
||||
willBePopupShown = false;
|
||||
|
|
Loading…
Reference in a new issue