🐛 Fix labels positions in PayoffsUI
This commit is contained in:
parent
3bf6e859e6
commit
918c42be6b
|
@ -21,10 +21,10 @@ function PayoffsUI(config){
|
|||
dom.appendChild(bg.dom);
|
||||
|
||||
// Labels
|
||||
dom.appendChild(_makeLabel("label_cooperate", {x:148, y:17, rotation:45, align:"center", color:"#cccccc"}));
|
||||
dom.appendChild(_makeLabel("label_cooperate", {x:52, y:17, rotation:-45, align:"center", color:"#cccccc"}));
|
||||
dom.appendChild(_makeLabel("label_cheat", {x:245, y:90, rotation:45, align:"center", color:"#cccccc"}));
|
||||
dom.appendChild(_makeLabel("label_cheat", {x:6, y:90, rotation:-45, align:"center", color:"#cccccc"}));
|
||||
dom.appendChild(_makeLabel("label_cooperate", {x:142, y:20, rotation:45, align:"center", color:"#cccccc"}));
|
||||
dom.appendChild(_makeLabel("label_cooperate", {x:52, y:17, rotation:-42, align:"center", color:"#cccccc"}));
|
||||
dom.appendChild(_makeLabel("label_cheat", {x:225, y:90, rotation:45, align:"center", color:"#cccccc"}));
|
||||
dom.appendChild(_makeLabel("label_cheat", {x:-10, y:90, rotation:-48, align:"center", color:"#cccccc"}));
|
||||
|
||||
// Inc(rement) De(crement) Numbers
|
||||
// which are symmetrical, and update each other!
|
||||
|
|
Loading…
Reference in New Issue