🐛 Fix labels positions in PayoffsUI

This commit is contained in:
Maxim Lebedev 2017-08-07 19:37:51 +05:00
parent 3bf6e859e6
commit 918c42be6b
No known key found for this signature in database
GPG Key ID: F8978F46FF0FFA4F
1 changed files with 4 additions and 4 deletions

View File

@ -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!