Skip to content

Commit

Permalink
fix(文字レイヤ): ギャラリー用の試作機能として、CSS の text-shadow 設定するためだけの filter 属性があったの…
Browse files Browse the repository at this point in the history
…で削除(v1.50.1 までの仕様)
  • Loading branch information
famibee committed Jun 4, 2024
1 parent 066bb32 commit 0e3d843
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
- fix(文字レイヤ): ギャラリー用の試作機能として、CSS の text-shadow 設定するためだけの filter 属性があったので削除(v1.50.1 までの仕様)
- 指定したい場合は記述を style='text-shadow: 〜'に


## [1.53.8](https://github.com/famibee/SKYNovel/compare/v1.53.7...v1.53.8) (2024-06-04)


Expand Down
2 changes: 1 addition & 1 deletion dist/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -21103,7 +21103,7 @@ class K extends Nt {
this.#r.style.cssText = "";
else
"alpha" in t && (e.opacity = String(this.spLay.alpha));
if ("width" in t && (e.width = (t.width ?? "0") + "px"), "height" in t && (e.height = (t.height ?? "0") + "px"), "pl" in t && (e.paddingLeft = (t.pl ?? "0") + "px"), "pr" in t && (e.paddingRight = (t.pr ?? "0") + "px"), "pt" in t && (e.paddingTop = (t.pt ?? "0") + "px"), "pb" in t && (e.paddingBottom = (t.pb ?? "0") + "px"), "kinsoku_sol" in t && (K.#A = new RegExp(`[${t.kinsoku_sol}]`)), "kinsoku_eol" in t && (K.#w = new RegExp(`[${t.kinsoku_eol}]`)), "kinsoku_dns" in t && (K.#H = new RegExp(`[${t.kinsoku_dns}]`)), this.#y(), this.#f.sethArg(t), this.#h = this.spLay.position.x, e.transformOrigin = `${this.spLay.pivot.x}px ${this.spLay.pivot.y}px`, this.cvsResize(), e.display = this.spLay.visible ? "inline" : "none", e.textShadow = t.filter ?? e.textShadow ?? "", this.#v = F(t, "break_fixed", this.#v), this.#p = M(t, "break_fixed_left", this.#p), this.#c = M(t, "break_fixed_top", this.#c), ":redraw" in t && this.#D > 0) {
if ("width" in t && (e.width = (t.width ?? "0") + "px"), "height" in t && (e.height = (t.height ?? "0") + "px"), "pl" in t && (e.paddingLeft = (t.pl ?? "0") + "px"), "pr" in t && (e.paddingRight = (t.pr ?? "0") + "px"), "pt" in t && (e.paddingTop = (t.pt ?? "0") + "px"), "pb" in t && (e.paddingBottom = (t.pb ?? "0") + "px"), "kinsoku_sol" in t && (K.#A = new RegExp(`[${t.kinsoku_sol}]`)), "kinsoku_eol" in t && (K.#w = new RegExp(`[${t.kinsoku_eol}]`)), "kinsoku_dns" in t && (K.#H = new RegExp(`[${t.kinsoku_dns}]`)), this.#y(), this.#f.sethArg(t), this.#h = this.spLay.position.x, e.transformOrigin = `${this.spLay.pivot.x}px ${this.spLay.pivot.y}px`, this.cvsResize(), e.display = this.spLay.visible ? "inline" : "none", this.#v = F(t, "break_fixed", this.#v), this.#p = M(t, "break_fixed_left", this.#p), this.#c = M(t, "break_fixed_top", this.#c), ":redraw" in t && this.#D > 0) {
const i = [
this.#r.innerHTML.replaceAll(/(animation-delay: )\d+ms/g, "$10ms"),
`<span class='sn_ch' data-add='{"ch_in_style":"default"}'> </span>`
Expand Down
2 changes: 1 addition & 1 deletion dist/app.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/sn/TxtStage.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/web.js
Original file line number Diff line number Diff line change
Expand Up @@ -22700,7 +22700,7 @@ class TxtStage extends Container {
this.#i.style.cssText = "";
else
"alpha" in t && (e.opacity = String(this.spLay.alpha));
if ("width" in t && (e.width = (t.width ?? "0") + "px"), "height" in t && (e.height = (t.height ?? "0") + "px"), "pl" in t && (e.paddingLeft = (t.pl ?? "0") + "px"), "pr" in t && (e.paddingRight = (t.pr ?? "0") + "px"), "pt" in t && (e.paddingTop = (t.pt ?? "0") + "px"), "pb" in t && (e.paddingBottom = (t.pb ?? "0") + "px"), "kinsoku_sol" in t && (TxtStage.#k = new RegExp(`[${t.kinsoku_sol}]`)), "kinsoku_eol" in t && (TxtStage.#E = new RegExp(`[${t.kinsoku_eol}]`)), "kinsoku_dns" in t && (TxtStage.#j = new RegExp(`[${t.kinsoku_dns}]`)), this.#m(), this.#f.sethArg(t), this.#l = this.spLay.position.x, e.transformOrigin = `${this.spLay.pivot.x}px ${this.spLay.pivot.y}px`, this.cvsResize(), e.display = this.spLay.visible ? "inline" : "none", e.textShadow = t.filter ?? e.textShadow ?? "", this.#v = argChk_Boolean(t, "break_fixed", this.#v), this.#p = argChk_Num(t, "break_fixed_left", this.#p), this.#c = argChk_Num(t, "break_fixed_top", this.#c), ":redraw" in t && this.#D > 0) {
if ("width" in t && (e.width = (t.width ?? "0") + "px"), "height" in t && (e.height = (t.height ?? "0") + "px"), "pl" in t && (e.paddingLeft = (t.pl ?? "0") + "px"), "pr" in t && (e.paddingRight = (t.pr ?? "0") + "px"), "pt" in t && (e.paddingTop = (t.pt ?? "0") + "px"), "pb" in t && (e.paddingBottom = (t.pb ?? "0") + "px"), "kinsoku_sol" in t && (TxtStage.#k = new RegExp(`[${t.kinsoku_sol}]`)), "kinsoku_eol" in t && (TxtStage.#E = new RegExp(`[${t.kinsoku_eol}]`)), "kinsoku_dns" in t && (TxtStage.#j = new RegExp(`[${t.kinsoku_dns}]`)), this.#m(), this.#f.sethArg(t), this.#l = this.spLay.position.x, e.transformOrigin = `${this.spLay.pivot.x}px ${this.spLay.pivot.y}px`, this.cvsResize(), e.display = this.spLay.visible ? "inline" : "none", this.#v = argChk_Boolean(t, "break_fixed", this.#v), this.#p = argChk_Num(t, "break_fixed_left", this.#p), this.#c = argChk_Num(t, "break_fixed_top", this.#c), ":redraw" in t && this.#D > 0) {
const r = [
this.#i.innerHTML.replaceAll(/(animation-delay: )\d+ms/g, "$10ms"),
`<span class='sn_ch' data-add='{"ch_in_style":"default"}'> </span>`
Expand Down
2 changes: 1 addition & 1 deletion dist/web.js.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion src/sn/TxtStage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ export class TxtStage extends Container {
s.transformOrigin = `${this.spLay.pivot.x}px ${this.spLay.pivot.y}px`;
this.cvsResize();
s.display = this.spLay.visible ?'inline' :'none';
s.textShadow = hArg.filter ?? s.textShadow ?? '';

this.#break_fixed = argChk_Boolean(hArg, 'break_fixed', this.#break_fixed);
this.#break_fixed_left= argChk_Num(hArg, 'break_fixed_left', this.#break_fixed_left);
Expand Down

0 comments on commit 0e3d843

Please sign in to comment.