Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Topten.RichTextKit/StyleManager.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// RichTextKit
// RichTextKit
// Copyright © 2019-2020 Topten Software. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may
Expand Down Expand Up @@ -301,7 +301,7 @@ public IStyle Update(
var rReplacementCharacter = replacementCharacter ?? _currentStyle.ReplacementCharacter;

// Format key
var key = $"{rFontFamily}.{rFontSize}.{rFontWeight}.{fontWidth}.{rFontItalic}.{rUnderline}.{rStrikeThrough}.{rLineHeight}.{rTextColor}.{rBackgroundColor}.{rHaloColor}.{rHaloWidth}.{rHaloBlur}.{rLetterSpacing}.{rFontVariant}.{rTextDirection}.{rReplacementCharacter}";
var key = $"{rFontFamily}.{rFontSize}.{rFontWeight}.{rFontWidth}.{rFontItalic}.{rUnderline}.{rStrikeThrough}.{rLineHeight}.{rTextColor}.{rBackgroundColor}.{rHaloColor}.{rHaloWidth}.{rHaloBlur}.{rLetterSpacing}.{rFontVariant}.{rTextDirection}.{rReplacementCharacter}";

// Look up...
if (!_styleMap.TryGetValue(key, out var style))
Expand Down