mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 08:08:15 -05:00
Merge branch 'master' of https://github.com/codecombat/codecombat
This commit is contained in:
commit
6e557d354e
1 changed files with 3 additions and 3 deletions
|
@ -55,7 +55,7 @@ module.exports = class Label extends CocoClass
|
|||
o = {}
|
||||
st = {dialogue: 'D', say: 'S', name: 'N'}[@style]
|
||||
o.marginX = {D: 5, S: 6, N: 3}[st]
|
||||
o.marginY = {D: 6, S: 6, N: 3}[st]
|
||||
o.marginY = {D: 6, S: 4, N: 3}[st]
|
||||
o.fontWeight = {D: "bold", S: "bold", N: "bold"}[st]
|
||||
o.shadow = {D: false, S: true, N: true}[st]
|
||||
o.shadowColor = {D: "#FFF", S: "#000", N: "#FFF"}[st]
|
||||
|
@ -63,8 +63,8 @@ module.exports = class Label extends CocoClass
|
|||
fontFamily = {D: "Arial", S: "Arial", N: "Arial"}[st]
|
||||
o.fontDescriptor = "#{o.fontWeight} #{o.fontSize}px #{fontFamily}"
|
||||
o.fontColor = {D: "#000", S: "#FFF", N: "#00a"}[st]
|
||||
o.backgroundFillColor = {D: "white", S: "rgba(255, 255, 255, 0.3)", N: "rgba(255, 255, 255, 0.5)"}[st]
|
||||
o.backgroundStrokeColor = {D: "black", S: "rgba(0, 0, 0, .4)", N: "rgba(0, 0, 0, 0.0)"}[st]
|
||||
o.backgroundFillColor = {D: "white", S: "rgba(0, 0, 0, 0.4)", N: "rgba(255, 255, 255, 0.5)"}[st]
|
||||
o.backgroundStrokeColor = {D: "black", S: "rgba(0, 0, 0, .6)", N: "rgba(0, 0, 0, 0.0)"}[st]
|
||||
o.backgroundStrokeStyle = {D: 2, S: 1, N: 1}[st]
|
||||
o.backgroundBorderRadius = {D: 10, S: 3, N: 3}[st]
|
||||
o.layerPriority = {D: 10, S: 5, N: 5}[st]
|
||||
|
|
Loading…
Reference in a new issue