-
Notifications
You must be signed in to change notification settings - Fork 323
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
Some drop down fixes #10337
Some drop down fixes #10337
Conversation
@@ -318,6 +339,7 @@ function toggleVectorValue(vector: Ast.MutableVector, value: string, previousSta | |||
function expressionTagClicked(tag: ExpressionTag, previousState: boolean) { | |||
const edit = graph.startEdit() | |||
const tagValue = resolveTagExpression(edit, tag) | |||
console.log('expressionTagClicked', tagValue) |
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.
Debug logging (here and 1 below)
}), | ||
) | ||
|
||
watch( | ||
() => isHovered.value && !suppressArrow.value, |
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.
Putting this in a computed showArrow
to use here and in the v-if
/v-else-if
would ensure that if our logic for when to show the arrow changes, it is still consistent with when we inhibit a parent arrow.
@@ -12,6 +12,10 @@ interface SelectionArrowInfo { | |||
/** Whether or not the arrow provided by this context instance was already requested. | |||
* Do not request the arrow twice, it will be stolen from other elements! */ | |||
handled: boolean | |||
/** | |||
* |
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.
Missing docs
Pull Request Description
Fixes #10185
Fixed two bugs from above issue: multiple arrows and being unable to change value from numeric input. The first was just lack of implementation; the second was caused by WidgetNumeric not handling its edit handler properly - the numeric input blur was finishing edit before click at entry could be interpreted.
Important Notes
There is still one issue with drop-down filtering; will file a bug report soon.
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:
Scala,
Java,
TypeScript,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.