mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-21 19:42:14 +00:00
fix indentation issue
This commit is contained in:
parent
414bef0ce1
commit
0a3b1c6b49
@ -1431,11 +1431,13 @@ public class FieldPanel extends JPanel
|
||||
|
||||
if (e.isShiftDown()) {
|
||||
// horizontal scroll (only move viewport)
|
||||
if (viewport != null) {
|
||||
if (viewport != null) {
|
||||
Point pos = viewport.getViewPosition();
|
||||
viewport.setViewPosition(new Point(Math.max(0, pos.x + scrollAmount), pos.y));
|
||||
viewport.setViewPosition(
|
||||
new Point(Math.max(0, pos.x + scrollAmount), pos.y));
|
||||
}
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
scrollView(scrollAmount);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user