mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Include control point name in ground object info.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/498
(cherry picked from commit ffcae66f59)
This commit is contained in:
committed by
Dan Albert
parent
c1534cba9e
commit
7f68846023
@@ -570,7 +570,7 @@ class TheaterGroundObject {
|
||||
}
|
||||
|
||||
L.marker(this.tgo.position, { icon: this.icon() })
|
||||
.bindTooltip(`${this.tgo.name}<br />${this.tgo.units.join("<br />")}`)
|
||||
.bindTooltip(`${this.tgo.name} (${this.tgo.controlPointName})<br />${this.tgo.units.join("<br />")}`)
|
||||
.on("click", () => this.tgo.showInfoDialog())
|
||||
.on("contextmenu", () => this.tgo.showPackageDialog())
|
||||
.addTo(this.layer());
|
||||
|
||||
Reference in New Issue
Block a user