mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Hotgroup logic updated
This commit is contained in:
@@ -42,8 +42,8 @@ export class HotgroupPanel extends Panel {
|
||||
|
||||
this.getElement().appendChild(el);
|
||||
|
||||
el.addEventListener("click", () => {
|
||||
getApp().getUnitsManager().selectUnitsByHotgroup(hotgroup);
|
||||
el.addEventListener("click", ( ev:MouseEvent ) => {
|
||||
getApp().getUnitsManager().selectUnitsByHotgroup(hotgroup, (!ev.ctrlKey));
|
||||
});
|
||||
|
||||
el.addEventListener("mouseover", () => {
|
||||
|
||||
Reference in New Issue
Block a user