-
Notifications
You must be signed in to change notification settings - Fork 335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix issues in new connection panel #6664
Fix issues in new connection panel #6664
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @raksooo)
gui/src/renderer/components/main-view/FeatureIndicators.tsx
line 210 at r1 (raw file):
const lineIndex = Math.round((indicatorRect.top - containerRect.top) / (LINE_HEIGHT + GAP)); return lineIndex > 1 || (lineIndex === 1 && indicatorRect.right >= ellipsisSpacerRect.left);
Nit I kind of miss the old comment explaining that an indicator should be hidden if it overlaps the spacer ellipsis. Consider re-adding some version of the old comment 😊
Code quote:
return lineIndex > 1 || (lineIndex === 1 && indicatorRect.right >= ellipsisSpacerRect.left);
a0bdbe3
to
1100d0f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: complete! all files reviewed, all discussions resolved
gui/src/renderer/components/main-view/FeatureIndicators.tsx
line 210 at r1 (raw file):
Previously, MarkusPettersson98 (Markus Pettersson) wrote…
Nit I kind of miss the old comment explaining that an indicator should be hidden if it overlaps the spacer ellipsis. Consider re-adding some version of the old comment 😊
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed 2 of 2 files at r2, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved
1100d0f
to
ff6e930
Compare
This change is