fix toolapp inner back edge width setting

This commit is contained in:
7015725
2026-05-19 01:02:41 +08:00
parent eda34d24b1
commit 6d8f50267c
5 changed files with 56 additions and 12 deletions

View File

@@ -321,9 +321,8 @@ FloatBallAppWM.prototype.applyImmediateEffectsForKey = function(k) {
if (k === "TOOLAPP_BACK_EDGE_WIDTH_DP") {
try {
if (this.state.toolAppActive && this.hideToolAppScreenBackStrips && this.showToolAppScreenBackStrips) {
this.hideToolAppScreenBackStrips();
this.showToolAppScreenBackStrips();
if (this.state.toolAppActive && this.updateToolAppInnerBackEdgeWidth) {
this.updateToolAppInnerBackEdgeWidth();
}
} catch(eBackStrip) {
safeLog(this.L, "w", "apply back edge width fail: " + String(eBackStrip));