-
Notifications
You must be signed in to change notification settings - Fork 6
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
IBX-6843: Focus mode #133
IBX-6843: Focus mode #133
Conversation
lucasOsti
commented
Oct 24, 2023
•
edited
Loading
edited
Question | Answer |
---|---|
JIRA issue | IBX-6843 |
Bug/Improvement | Improvement |
New feature | yes |
Target version | 4.6 |
BC breaks | no |
Tests pass | yes |
Doc needed | yes |
326e28f
to
53544a0
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
53544a0
to
5b89c97
Compare
const toolbarNodeRect = toolbarNode.getBoundingClientRect(); | ||
const dataSourceNodeRect = dataSourceNode.getBoundingClientRect(); | ||
const { height: toolbarHeight } = toolbarNodeRect; | ||
const { top: dataSourceTop } = dataSourceNodeRect; |
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.
I don't think these two extra variables are necessary here
const toolbarNodeRect = toolbarNode.getBoundingClientRect(); | |
const dataSourceNodeRect = dataSourceNode.getBoundingClientRect(); | |
const { height: toolbarHeight } = toolbarNodeRect; | |
const { top: dataSourceTop } = dataSourceNodeRect; | |
const { height: toolbarHeight } = toolbarNode.getBoundingClientRect(); | |
const { top: dataSourceTop } = dataSourceNode.getBoundingClientRect(); |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |