[Monaco][CQ]Remove double handling of the sticky scroll option (#33384)
This commit is contained in:
Родитель
109f0b210a
Коммит
2eec4c5a98
|
@ -400,7 +400,6 @@ namespace Microsoft.PowerToys.PreviewHandler.Monaco
|
|||
_html = _html.Replace("[[PT_STICKY_SCROLL]]", _settings.StickyScroll ? "1" : "0", StringComparison.InvariantCulture);
|
||||
_html = _html.Replace("[[PT_FONT_SIZE]]", _settings.FontSize.ToString(CultureInfo.InvariantCulture), StringComparison.InvariantCulture);
|
||||
_html = _html.Replace("[[PT_CODE]]", _base64FileCode, StringComparison.InvariantCulture);
|
||||
_html = _html.Replace("[[PT_STICKY_SCROLL]]", _settings.StickyScroll ? "1" : "0", StringComparison.InvariantCulture);
|
||||
_html = _html.Replace("[[PT_URL]]", FilePreviewCommon.MonacoHelper.VirtualHostName, StringComparison.InvariantCulture);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче