Skip to content

Commit

Permalink
Merge pull request #29 from jfree/selected-frame
Browse files Browse the repository at this point in the history
fix: correctly dims frames adjacent to selected frame. See #28.
  • Loading branch information
bric3 authored Mar 15, 2022
2 parents e81d54e + 17d1ef8 commit 5b94951
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,8 @@ private void paint(Graphics2D g2, Rectangle visibleRect, boolean minimapMode) {
false,
selectedFrame != null && (
frame.stackDepth < selectedFrame.stackDepth
|| frame.endX < selectedFrame.startX
|| frame.startX > selectedFrame.endX),
|| frame.endX <= selectedFrame.startX
|| frame.startX >= selectedFrame.endX),
minimapMode),
frameBorderColor,
minimapMode);
Expand Down

0 comments on commit 5b94951

Please sign in to comment.