Commit 1ecd7fa
committed
Preserve zoom factor when setting RichTextBox RTF
Assigning to the RichTextBox.Rtf property resets the zoom factor to 1.0. This change saves and restores the original zoom factor after setting the RTF. Also updates the XML doc for maxLogLines to reflect the correct upper limit of 2048.1 parent 9dda254 commit 1ecd7fa
File tree
2 files changed
+8
-2
lines changed- Serilog.Sinks.RichTextBox.WinForms.Colored/Sinks/RichTextBoxForms
- Extensions
2 files changed
+8
-2
lines changedLines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
81 | 87 | | |
82 | 88 | | |
83 | 89 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
0 commit comments