mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
Updated the Window menu actions to not show frustration
This commit is contained in:
parent
cc1228bdaa
commit
fc68df0927
1 changed files with 9 additions and 3 deletions
|
@ -122,7 +122,13 @@ class ShowComponentAction extends DockingAction
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void actionPerformed(ActionContext context) {
|
public void actionPerformed(ActionContext context) {
|
||||||
winMgr.showComponent(info, true, true, true);
|
// Note: we use the emphasize feature as a callout when users are frustratedly pressing the
|
||||||
|
// button to show a provider, as it implies they are not seeing the provider as it is being
|
||||||
|
// shown. Since this action is a menu item, the user cannot click it fast enough to show
|
||||||
|
// frustration. For now, turn off the emphasis. We can think of a better way to determine
|
||||||
|
// frustration in this use case later if we think it improves the user experience.
|
||||||
|
boolean emphasize = false;
|
||||||
|
winMgr.showComponent(info, true, true, emphasize);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue