mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-25 14:08:59 +00:00
@@ -327,12 +327,10 @@ function displaySingle(entState)
|
||||
{
|
||||
const iconBorder = Engine.GetGUIObjectByName("iconBorder");
|
||||
|
||||
// Actions on left click
|
||||
iconBorder.onPress = () => {
|
||||
setCameraFollow(entState.id);
|
||||
};
|
||||
|
||||
// Actions on right click
|
||||
iconBorder.onPressRight = () => {
|
||||
showTemplateDetails(entState.template, playerState.civ);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user