mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-07-09 23:22:47 +08:00
fix(phone-image): 移除未導出的applyFontScale調用
BUG-1修復: PhoneImageEngine.applyFontScale是IIFE內部私有函數,未在公開API導出。 updateConfig()內部已自動調用applyFontScale(),HTML中的直接調用是多餘的且會報錯。
This commit is contained in:
@@ -650,7 +650,6 @@
|
|||||||
$codeScaleValue.text(val.toFixed(1) + 'x');
|
$codeScaleValue.text(val.toFixed(1) + 'x');
|
||||||
currentConfig.codeFontScale = val;
|
currentConfig.codeFontScale = val;
|
||||||
PhoneImageEngine.updateConfig({ codeFontScale: val });
|
PhoneImageEngine.updateConfig({ codeFontScale: val });
|
||||||
PhoneImageEngine.applyFontScale();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$codeScaleSelect.on('change', function() {
|
$codeScaleSelect.on('change', function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user