@open-slot-ui/pixi 0.2.3 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2977,8 +2977,17 @@ var ReadoutView = class extends ControlView {
2977
2977
  this.prefix = opts.prefix ?? false;
2978
2978
  const fill = opts.fill ?? (opts.mono ? "#ffffff" : t.color.text);
2979
2979
  if (this.prefix) {
2980
- this.valueText = new Text({ text: "", style: { fontFamily: t.type.family, fontSize: 12, fill: opts.fill ?? "#ffffff", fontWeight: "400" } });
2981
- this.valueText.alpha = opts.fill ? 1 : 0.5;
2980
+ this.valueText = new Text({
2981
+ text: "",
2982
+ style: {
2983
+ fontFamily: t.type.family,
2984
+ fontSize: 18,
2985
+ fill: opts.fill ?? "#ffffff",
2986
+ fontWeight: "600",
2987
+ dropShadow: { color: 0, alpha: 0.7, blur: 4, distance: 0, angle: 0 }
2988
+ }
2989
+ });
2990
+ this.valueText.alpha = opts.fill ? 1 : 0.92;
2982
2991
  this.valueText.anchor.set(0, 0);
2983
2992
  this.addChild(this.valueText);
2984
2993
  this.disposers.push(