eirikbakke commented on code in PR #7009:
URL: https://github.com/apache/netbeans/pull/7009#discussion_r1469632177


##########
ide/diff/src/org/netbeans/modules/diff/builtin/visualizer/editable/DiffContentPanel.java:
##########
@@ -67,6 +67,8 @@ public DiffContentPanel(EditableDiffView master, boolean 
isFirst) {
         add(scrollPane);
         
         linesActions = new LineNumbersActionsBar(this, 
master.isActionsEnabled());
+        linesActions.addMouseWheelListener(e -> editorPane.dispatchEvent(e)); 
// delegate mouse scroll events to editor
+

Review Comment:
   Either is fine with me, as long as it works on all platforms.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to