mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-02-01 10:24:30 +07:00
Made clicking a button in quickpanel assign it to the correct action id
This commit is contained in:
parent
46bdd1f94a
commit
9b874036b8
@ -167,6 +167,7 @@ public class SpellsQuickPanel extends Table implements Disposable, CharData.Skil
|
||||
@Override
|
||||
public void clicked(InputEvent event, float x, float y) {
|
||||
observer.copy(button);
|
||||
Riiablo.charData.setAction(buttonId, button.getSkill());
|
||||
SpellsQuickPanel.this.setVisible(false);
|
||||
}
|
||||
});
|
||||
@ -206,6 +207,7 @@ public class SpellsQuickPanel extends Table implements Disposable, CharData.Skil
|
||||
@Override
|
||||
public void clicked(InputEvent event, float x, float y) {
|
||||
observer.copy(button);
|
||||
Riiablo.charData.setAction(buttonId, button.getSkill());
|
||||
SpellsQuickPanel.this.setVisible(false);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user