-
Notifications
You must be signed in to change notification settings - Fork 120
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
New look of patch board with bound values #1684
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.
Awesome 🥇
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.
Looks awesome 👍🏻
But there are a few inconsistencies left:
because pins got smaller, they look off in the inspector
comment border did not change:
(is this because of #1380?)
@@ -3,6 +3,10 @@ | |||
} | |||
|
|||
#patch_bg_pattern { | |||
g { | |||
// Compensate bluring |
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.
👍🏻
const textVerticalOffset = PIN_RADIUS + TEXT_OFFSET_FROM_PIN_BORDER; | ||
const isInput = direction === PIN_DIRECTION.INPUT; | ||
|
||
const textProps = { | ||
x: position.x, | ||
y: position.y + textVerticalOffset * (isInput ? -1 : 1), | ||
y: position.y - textVerticalOffset * (isInput ? -1 : 1), |
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.
y: position.y - textVerticalOffset * (isInput ? -1 : 1), | |
y: position.y + textVerticalOffset * (isInput ? 1 :- 1), |
Also, bound values are not shown in latest the Firefox and Chromium on macOS :( |
fc13911
to
9bbccd7
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.
* 3○ | ||
* | ||
* 2○ | ||
* 1○ |
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 like ASCII pictures
I think it’s a bit better to put node labels 2px higher: 10px top margin instead of 12px |
2a85486
to
ee2f778
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.
LGTM 👍🏻
ee2f778
to
3cf820c
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.
Wooohooo🤘
It closes #1678