mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
make targetting area in VDock be non-focusable
This commit is contained in:
@@ -73,6 +73,7 @@ public class VDock implements IVDoc<CDock> {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public void populate() {
|
public void populate() {
|
||||||
|
btnTargeting.setFocusable(false); // don't let the targeting arc switcher get focus
|
||||||
final JPanel pnl = parentCell.getBody();
|
final JPanel pnl = parentCell.getBody();
|
||||||
// Mig layout does not support wrapping!
|
// Mig layout does not support wrapping!
|
||||||
// http://stackoverflow.com/questions/5715833/how-do-you-make-miglayout-behave-like-wrap-layout
|
// http://stackoverflow.com/questions/5715833/how-do-you-make-miglayout-behave-like-wrap-layout
|
||||||
|
|||||||
Reference in New Issue
Block a user