From 7d356b13c596b6cdacf6207f6e213aafb5fe04c6 Mon Sep 17 00:00:00 2001 From: Paulo Dias Date: Thu, 19 Oct 2023 19:22:06 +0100 Subject: [PATCH] plugins/videostream/VideoStream: Adding help to inform Ctrl+Click to mark frame position on map. --- .../java/pt/lsts/neptus/plugins/videostream/VideoStream.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins-dev/videostream/src/java/pt/lsts/neptus/plugins/videostream/VideoStream.java b/plugins-dev/videostream/src/java/pt/lsts/neptus/plugins/videostream/VideoStream.java index c46a3d3343..7e9654ef3c 100644 --- a/plugins-dev/videostream/src/java/pt/lsts/neptus/plugins/videostream/VideoStream.java +++ b/plugins-dev/videostream/src/java/pt/lsts/neptus/plugins/videostream/VideoStream.java @@ -575,6 +575,11 @@ public void actionPerformed(ActionEvent e) { JLabel infoZoom = new JLabel(I18n.text("For zoom use Alt-Z")); infoZoom.setEnabled(false); popup.add(infoZoom, JMenuItem.CENTER_ALIGNMENT); + + JLabel markSnap = new JLabel(I18n.text("Ctr+Click to mark frame in the map")); + markSnap.setEnabled(false); + popup.add(markSnap, JMenuItem.CENTER_ALIGNMENT); + popup.show((Component) e.getSource(), e.getX(), e.getY()); } }