mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-21 23:57:30 +00:00
Fixed: Ribbon stealing focus when pressing Alt (for example in editors)
This commit is contained in:
@@ -35,6 +35,7 @@ All notable changes to this project will be documented in this file.
|
||||
- AS3 with statement decompilation
|
||||
- #1610 AS3 unnecessary adding namespaces
|
||||
- #1610 AS3 P-code editation - true/false/undefined/null has value_index same as value_kind
|
||||
- Ribbon stealing focus when pressing Alt (for example in editors)
|
||||
|
||||
### Changed
|
||||
- #1565, #1407, #1350 On BinaryData SWF save, parent SWF is saved
|
||||
|
||||
Binary file not shown.
@@ -372,8 +372,9 @@ public class JRibbonFrame extends JFrame {
|
||||
this.ribbon = new JRibbon(this);
|
||||
this.add(this.ribbon, BorderLayout.NORTH);
|
||||
|
||||
// this.keyTipManager = new KeyTipManager(this);
|
||||
Toolkit.getDefaultToolkit().addAWTEventListener(new AWTEventListener() {
|
||||
// this.keyTipManager = new KeyTipManager(this);
|
||||
//JPEXS: Disabled keytips as it constantly steals focus in my editors!
|
||||
/*Toolkit.getDefaultToolkit().addAWTEventListener(new AWTEventListener() {
|
||||
private boolean prevAltModif = false;
|
||||
|
||||
@Override
|
||||
@@ -451,7 +452,7 @@ public class JRibbonFrame extends JFrame {
|
||||
}
|
||||
}
|
||||
}
|
||||
}, AWTEvent.KEY_EVENT_MASK | AWTEvent.MOUSE_EVENT_MASK);
|
||||
}, AWTEvent.KEY_EVENT_MASK | AWTEvent.MOUSE_EVENT_MASK);*/
|
||||
|
||||
final KeyTipLayer keyTipLayer = new KeyTipLayer();
|
||||
JRootPane rootPane = this.getRootPane();
|
||||
|
||||
Reference in New Issue
Block a user