-
Notifications
You must be signed in to change notification settings - Fork 286
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
fix inspector not showing up in certain cases #2499
Conversation
0323608
to
e894550
Compare
e894550
to
08bc7d3
Compare
@@ -39,8 +43,8 @@ | |||
|
|||
"action": { | |||
"default_icon": { | |||
"19": "{{PANE_ROOT}}/assets/images/icon19.png", | |||
"38": "{{PANE_ROOT}}/assets/images/icon38.png" | |||
"19": "{{PANE_ROOT}}/assets/images/icon19_grey.png", |
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.
Why are the default icons the grey ones?
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.
by default it should show not detected
icon. as the detection state only shows up when an ember app is detected
contextMenuListeners.forEach((fn) => fn({ menuItemId: menu.id })); | ||
}, | ||
|
||
onClicked: { |
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 assume you tested this to ensure it still found the component in the tree and selected it?
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 tested it now :)
works
action icon is always shown there is no option to hide/show anymore instead i switch between grey/orange icon to indicate detection
08bc7d3
to
f6cf5dc
Compare
fix issues with chrome api.
for some the inspector does not show up, for others it does, not sure why.
fix onclick event & hide/show
action icon is always shown
there is no option to hide/show anymore
instead i switch between grey/orange icon to indicate detection.
enable/disable actually only disables click actions
fixes #2496