-
Notifications
You must be signed in to change notification settings - Fork 1
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
Eagle 1222 #683
Eagle 1222 #683
Conversation
…error on eagle load
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.
Hey @M-Wicenec - I've reviewed your changes and they look great!
Here's what I looked at during the review
- 🟡 General issues: 2 issues found
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.
.navbar .dropdown-item{ | ||
padding: .05rem 1rem; |
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.
suggestion: Padding value might be too small.
The padding value of .05rem might be too small and could lead to rendering issues on some devices. Consider increasing it slightly.
.navbar .dropdown-item{ | |
padding: .05rem 1rem; | |
.navbar .dropdown-item{ | |
padding: .25rem 1rem; | |
} |
@@ -1801,7 +1801,7 @@ export class GraphRenderer { | |||
|
|||
static SCREEN_TO_GRAPH_POSITION_X(x:number) : number { | |||
const eagle = Eagle.getInstance(); | |||
if(x===null){ | |||
if(x===null && GraphRenderer.dragCurrentPosition){ |
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.
issue (bug_risk): Potential issue with null check.
The condition x===null && GraphRenderer.dragCurrentPosition
might not cover all edge cases. Consider checking if GraphRenderer.dragCurrentPosition
is defined before accessing its properties.
No description provided.