summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-03-23 14:01:01 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-03-23 14:01:01 +0300
commit8ed5448b0f4a982fb8f3a408df913c1cdc9378fe (patch)
tree8e9fd18572c6f952cab08e967569819eb68eb538
parenteb52c8c6cd9992133ee232335affba4425f29cf9 (diff)
NewStory: fix for visual glitches
-rw-r--r--plugins/NewStory/src/history_array.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/NewStory/src/history_array.cpp b/plugins/NewStory/src/history_array.cpp
index 83b839f0e6..d8a9a36a25 100644
--- a/plugins/NewStory/src/history_array.cpp
+++ b/plugins/NewStory/src/history_array.cpp
@@ -453,6 +453,8 @@ void ItemData::load(bool bLoadAlways)
void ItemData::setText(const wchar_t *pwszText)
{
+ savedHeight = -1;
+
int fontid, colorid;
getFontColor(fontid, colorid);