[Fixed Position] Add text color property

Add a property to the Fixed Position toolbar to set text
color, WTD-881.
This commit is contained in:
Victor Woeltjen
2015-02-23 18:17:24 -08:00
parent 13793e221e
commit 894a5b8f89
7 changed files with 19 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
<div ng-style="{ background: ngModel.fill(), border: '1px solid ' + ngModel.stroke() }"
<div ng-style="{ background: ngModel.fill(), border: '1px solid ' + ngModel.stroke(), color: ngModel.color() }"
style="width: 100%; height: 100%;">
<div style="position: absolute; left: 0px; top: 0px; bottom: 0px; width: 50%; overflow: hidden;">
{{ngModel.name}}

View File

@@ -1,4 +1,4 @@
<div ng-style="{ background: ngModel.fill(), border: '1px solid ' + ngModel.stroke() }"
<div ng-style="{ background: ngModel.fill(), border: '1px solid ' + ngModel.stroke(), color: ngModel.color() }"
style="width: 100%; height: 100%; overflow: hidden;">
{{ngModel.element.text}}
</div>