mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-07 05:31:15 -07:00
Update cloudinary==1.28.0
This commit is contained in:
parent
0325e9327f
commit
dcfd8abddd
7 changed files with 196 additions and 21 deletions
|
@ -802,7 +802,7 @@ var slice = [].slice,
|
|||
function TextLayer(options) {
|
||||
var keys;
|
||||
TextLayer.__super__.constructor.call(this, options);
|
||||
keys = ["resourceType", "resourceType", "fontFamily", "fontSize", "fontWeight", "fontStyle", "textDecoration", "textAlign", "stroke", "letterSpacing", "lineSpacing", "fontHinting", "fontAntialiasing", "text"];
|
||||
keys = ["resourceType", "resourceType", "fontFamily", "fontSize", "fontWeight", "fontStyle", "textDecoration", "textAlign", "stroke", "letterSpacing", "lineSpacing", "fontHinting", "fontAntialiasing", "text", "textStyle"];
|
||||
if (options != null) {
|
||||
keys.forEach((function(_this) {
|
||||
return function(key) {
|
||||
|
@ -886,6 +886,11 @@ var slice = [].slice,
|
|||
return this;
|
||||
};
|
||||
|
||||
TextLayer.prototype.textStyle = function(textStyle) {
|
||||
this.options.textStyle = textStyle;
|
||||
return this;
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* generate the string representation of the layer
|
||||
|
@ -921,6 +926,10 @@ var slice = [].slice,
|
|||
};
|
||||
|
||||
TextLayer.prototype.textStyleIdentifier = function() {
|
||||
// Note: if a text-style argument is provided as a whole, it overrides everything else, no mix and match.
|
||||
if (!Util.isEmpty(this.options.textStyle)) {
|
||||
return this.options.textStyle;
|
||||
}
|
||||
var components;
|
||||
components = [];
|
||||
if (this.options.fontWeight !== "normal") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue