Skip to content
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

feat: update output graph #143

Merged
merged 1 commit into from
Mar 15, 2022
Merged

feat: update output graph #143

merged 1 commit into from
Mar 15, 2022

Conversation

hetao92
Copy link
Contributor

@hetao92 hetao92 commented Mar 11, 2022

No description provided.

@hetao92 hetao92 requested a review from huaxiabuluo March 11, 2022 08:37
@@ -0,0 +1,29 @@
const int2HexColor = (num) => `#${num.toString(16).padStart(6, '0')}`;
const rgb2Int = (r, g, b) => r * 255 * 255 + g * 255 + b;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"255" need to be "256" , this bug was fixed in explorer

@hetao92 hetao92 force-pushed the hetao-dev branch 3 times, most recently from f0d16d6 to 3d93eae Compare March 15, 2022 02:39
};
useEffect(() => {
const close = e => {
const isMenu = e.path.find(each => each.className === 'context-menu');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

safari doesn't has e.path attribute

const isMenu = (() => {
  let target = e.target;
  while (target && target !== app) {
    if (target.className === 'context-menu') {
      return true;
    }
    target = target.parentElement;
  }
  return false;
})();

mod: code review

mod: code review

mod: code review
Copy link
Contributor

@mizy mizy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mizy mizy merged commit 1e263d5 into vesoft-inc:v3.3.0-dev Mar 15, 2022
@hetao92 hetao92 deleted the hetao-dev branch March 16, 2022 03:20
hetao92 added a commit to hetao92/nebula-studio that referenced this pull request Mar 31, 2022
mod: code review

mod: code review

mod: code review
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants